y59 commited on
Commit
a495c66
·
verified ·
1 Parent(s): 828ee24

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -13,6 +13,13 @@ 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
 
13
  ENV CASTING_DISABLED=1
14
  ENV DISABLE_CACHING=1
15
  ENV DEBUG=1
16
+ ENV NODE_ENV=production
17
+ ENV STREMIO_USER_DATA_DIR=/tmp/.stremio-server
18
+ ENV HOME=/tmp
19
+
20
+ # Create writable directory for Stremio server data
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