Spaces:
Running
Running
Commit ·
6b25eb0
1
Parent(s): f491398
Fix dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -26,7 +26,8 @@ RUN chmod -R 777 /app/public /app/out /app/uploads /app/frames || true
|
|
| 26 |
RUN chmod 777 /app/index.html || true
|
| 27 |
RUN mkdir -p /tmp/client_body /tmp/proxy_temp /tmp/fastcgi_temp /tmp/uwsgi_temp /tmp/scgi_temp && chmod -R 777 /tmp
|
| 28 |
RUN chmod -R 777 /var
|
| 29 |
-
RUN chmod -R 777 /app/node_modules/.cache
|
|
|
|
| 30 |
# Build app
|
| 31 |
RUN npm run bundle
|
| 32 |
RUN npm run skip-font-warn
|
|
@@ -40,4 +41,4 @@ RUN chmod +x /app/start.sh
|
|
| 40 |
RUN sed -i 's/^user .*;/user root;/' /etc/nginx/nginx.conf || true
|
| 41 |
|
| 42 |
USER 1000
|
| 43 |
-
ENTRYPOINT ["/start.sh"]
|
|
|
|
| 26 |
RUN chmod 777 /app/index.html || true
|
| 27 |
RUN mkdir -p /tmp/client_body /tmp/proxy_temp /tmp/fastcgi_temp /tmp/uwsgi_temp /tmp/scgi_temp && chmod -R 777 /tmp
|
| 28 |
RUN chmod -R 777 /var
|
| 29 |
+
RUN chmod -R 777 /app/node_modules/.cache || true
|
| 30 |
+
|
| 31 |
# Build app
|
| 32 |
RUN npm run bundle
|
| 33 |
RUN npm run skip-font-warn
|
|
|
|
| 41 |
RUN sed -i 's/^user .*;/user root;/' /etc/nginx/nginx.conf || true
|
| 42 |
|
| 43 |
USER 1000
|
| 44 |
+
ENTRYPOINT ["/app/start.sh"]
|