Update Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
|
@@ -1,12 +1,13 @@
|
|
| 1 |
FROM tsaridas/stremio-docker:latest
|
| 2 |
|
| 3 |
-
# Install Node.js for our proxy and debugging
|
| 4 |
-
RUN apk add --no-cache nodejs npm findutils grep
|
| 5 |
|
| 6 |
# Create a simple proxy server
|
| 7 |
WORKDIR /app
|
| 8 |
COPY proxy.js .
|
| 9 |
COPY proxy-only.js .
|
|
|
|
| 10 |
COPY startup.sh .
|
| 11 |
|
| 12 |
# Make the workspace writable
|
|
@@ -25,9 +26,6 @@ ENV HOME=/tmp
|
|
| 25 |
RUN mkdir -p /tmp/.stremio-server && \
|
| 26 |
chmod -R 777 /tmp/.stremio-server
|
| 27 |
|
| 28 |
-
# Find the Stremio script and ensure it's executable
|
| 29 |
-
RUN find / -name stremio-web-service-run.sh -exec chmod +x {} \; 2>/dev/null || echo "Stremio script not found during build"
|
| 30 |
-
|
| 31 |
# Make startup script executable
|
| 32 |
RUN chmod +x /app/startup.sh
|
| 33 |
|
|
|
|
| 1 |
FROM tsaridas/stremio-docker:latest
|
| 2 |
|
| 3 |
+
# Install Node.js and utilities for our proxy and debugging
|
| 4 |
+
RUN apk add --no-cache nodejs npm findutils grep netcat-openbsd
|
| 5 |
|
| 6 |
# Create a simple proxy server
|
| 7 |
WORKDIR /app
|
| 8 |
COPY proxy.js .
|
| 9 |
COPY proxy-only.js .
|
| 10 |
+
COPY stremio-minimal.js .
|
| 11 |
COPY startup.sh .
|
| 12 |
|
| 13 |
# Make the workspace writable
|
|
|
|
| 26 |
RUN mkdir -p /tmp/.stremio-server && \
|
| 27 |
chmod -R 777 /tmp/.stremio-server
|
| 28 |
|
|
|
|
|
|
|
|
|
|
| 29 |
# Make startup script executable
|
| 30 |
RUN chmod +x /app/startup.sh
|
| 31 |
|