martynka commited on
Commit
a76f64d
·
verified ·
1 Parent(s): e16feb4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -22,8 +22,7 @@ RUN cd /app/api && npm install
22
 
23
  # Copy startup script and make it executable
24
  COPY entrypoint.sh /app/entrypoint.sh
25
- RUN chmod +x /app/entrypoint.sh
26
- RUN chown node /app/entrypoint.sh
27
  USER node
28
  # Run as root (or drop back to non-root if you want later)
29
  CMD ["/app/entrypoint.sh"]
 
22
 
23
  # Copy startup script and make it executable
24
  COPY entrypoint.sh /app/entrypoint.sh
25
+ RUN chmod 777 /app/entrypoint.sh
 
26
  USER node
27
  # Run as root (or drop back to non-root if you want later)
28
  CMD ["/app/entrypoint.sh"]