Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
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"]
|