martynka commited on
Commit
3b1acb6
·
verified ·
1 Parent(s): 2c0ee73

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -4
Dockerfile CHANGED
@@ -25,7 +25,6 @@ RUN mkdir -p \
25
  /app/api/logs \
26
  /app/data \
27
  /app/caddy && \
28
- chown -R 1000:1000 /app && \
29
  chmod -R 777 \
30
  /app/uploads/temp \
31
  /app/client/public/images \
@@ -51,9 +50,6 @@ ENV HOST=0.0.0.0 \
51
  # Install additional dependencies
52
  RUN cd /app/api && npm install
53
 
54
- # Switch to non-root user
55
- USER 1000
56
-
57
  # Expose the correct port for HF Spaces
58
  EXPOSE 7860
59
 
 
25
  /app/api/logs \
26
  /app/data \
27
  /app/caddy && \
 
28
  chmod -R 777 \
29
  /app/uploads/temp \
30
  /app/client/public/images \
 
50
  # Install additional dependencies
51
  RUN cd /app/api && npm install
52
 
 
 
 
53
  # Expose the correct port for HF Spaces
54
  EXPOSE 7860
55