Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -39,10 +39,11 @@ RUN npm run build && cp -r dist/. /usr/share/nginx/html
|
|
39 |
|
40 |
|
41 |
# Switch back to the app directory and setup the backend
|
42 |
-
USER
|
43 |
WORKDIR $HOME/app
|
44 |
|
45 |
COPY --chown=pn backend backend
|
|
|
46 |
COPY --chown=pn default.conf /etc/nginx/conf.d/default.conf
|
47 |
|
48 |
# Prepare the entrypoint script
|
|
|
39 |
|
40 |
|
41 |
# Switch back to the app directory and setup the backend
|
42 |
+
USER pn
|
43 |
WORKDIR $HOME/app
|
44 |
|
45 |
COPY --chown=pn backend backend
|
46 |
+
USER pn
|
47 |
COPY --chown=pn default.conf /etc/nginx/conf.d/default.conf
|
48 |
|
49 |
# Prepare the entrypoint script
|