Spaces:
Runtime error
Runtime error
fix
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -46,7 +46,7 @@ FROM nginxinc/nginx-unprivileged:1.25-alpine as final
|
|
46 |
#RUN apk add --no-cache bash
|
47 |
USER nginx
|
48 |
COPY --chown=nginx:nginx nginx.conf /etc/nginx/conf.d/default.conf
|
49 |
-
COPY --chown=nginx:nginx app
|
50 |
COPY --from=builder /usr/src/app/platform/app/dist /usr/share/nginx/html
|
51 |
# In entrypoint.sh, app-config.js might be overwritten, so chmod it to be writeable.
|
52 |
# The nginx user cannot chmod it, so change to root.
|
|
|
46 |
#RUN apk add --no-cache bash
|
47 |
USER nginx
|
48 |
COPY --chown=nginx:nginx nginx.conf /etc/nginx/conf.d/default.conf
|
49 |
+
COPY --chown=nginx:nginx app.config.js /usr/share/nginx/html/app-config.js
|
50 |
COPY --from=builder /usr/src/app/platform/app/dist /usr/share/nginx/html
|
51 |
# In entrypoint.sh, app-config.js might be overwritten, so chmod it to be writeable.
|
52 |
# The nginx user cannot chmod it, so change to root.
|