y59 commited on
Commit
028bbd5
·
verified ·
1 Parent(s): a6f7af2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -1,13 +1,16 @@
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
@@ -21,6 +24,9 @@ ENV HOME=/tmp
21
  RUN mkdir -p /tmp/.stremio-server && \
22
  chmod -R 777 /tmp/.stremio-server
23
 
 
 
 
24
  # Make startup script executable
25
  RUN chmod +x /app/startup.sh
26
 
 
1
  FROM tsaridas/stremio-docker:latest
2
 
3
+ # Install Node.js for our proxy and debugging tools
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 startup.sh .
10
 
11
+ # Make the workspace writable
12
+ RUN chmod -R 777 /app
13
+
14
  # Set environment variables for Stremio
15
  ENV NO_CORS=1
16
  ENV CASTING_DISABLED=1
 
24
  RUN mkdir -p /tmp/.stremio-server && \
25
  chmod -R 777 /tmp/.stremio-server
26
 
27
+ # Find the Stremio script and ensure it's executable
28
+ RUN find / -name stremio-web-service-run.sh -exec chmod +x {} \; 2>/dev/null || echo "Stremio script not found during build"
29
+
30
  # Make startup script executable
31
  RUN chmod +x /app/startup.sh
32