y59 commited on
Commit
f6252fb
·
verified ·
1 Parent(s): 8b4b8dc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +24 -19
Dockerfile CHANGED
@@ -1,19 +1,24 @@
1
- FROM tsaridas/stremio-docker:latest
2
-
3
- # Install Node.js for our proxy
4
- RUN apk add --no-cache nodejs npm
5
-
6
- # Create a simple proxy server
7
- WORKDIR /app
8
- COPY proxy.js .
9
-
10
- # Set environment variables for Stremio
11
- ENV NO_CORS=1
12
- ENV CASTING_DISABLED=1
13
- ENV DISABLE_CACHING=1
14
-
15
- # Expose HF Spaces port
16
- EXPOSE 7860
17
-
18
- # Start both Stremio and the proxy
19
- CMD ["/bin/sh", "-c", "(/app/stremio-web-service-run.sh &) && node /app/proxy.js"]
 
 
 
 
 
 
1
+ FROM tsaridas/stremio-docker:latest
2
+
3
+ # Install Node.js for our proxy
4
+ RUN apk add --no-cache nodejs npm
5
+
6
+ # Create a simple proxy server
7
+ WORKDIR /app
8
+ COPY proxy.js .
9
+ COPY startup.sh .
10
+
11
+ # Set environment variables for Stremio
12
+ ENV NO_CORS=1
13
+ ENV CASTING_DISABLED=1
14
+ ENV DISABLE_CACHING=1
15
+ ENV DEBUG=1
16
+
17
+ # Make startup script executable
18
+ RUN chmod +x /app/startup.sh
19
+
20
+ # Expose HF Spaces port
21
+ EXPOSE 7860
22
+
23
+ # Use our custom startup script
24
+ CMD ["/app/startup.sh"]