Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -14,6 +14,8 @@ RUN chown -R pn:pn /var/cache/nginx \
|
|
14 |
/var/lib/nginx \
|
15 |
/var/run/nginx.pid
|
16 |
|
|
|
|
|
17 |
USER pn
|
18 |
ENV HOME=/home/pn \
|
19 |
PATH=/home/pn/.local/bin:$PATH
|
@@ -30,6 +32,4 @@ COPY --chown=pn run.sh /home/pn/app/
|
|
30 |
|
31 |
COPY --chown=pn server.js/ /home/pn/app/
|
32 |
|
33 |
-
RUN npm install --save express ws
|
34 |
-
|
35 |
CMD ["bash", "run.sh"]
|
|
|
14 |
/var/lib/nginx \
|
15 |
/var/run/nginx.pid
|
16 |
|
17 |
+
RUN npm install --save express ws
|
18 |
+
|
19 |
USER pn
|
20 |
ENV HOME=/home/pn \
|
21 |
PATH=/home/pn/.local/bin:$PATH
|
|
|
32 |
|
33 |
COPY --chown=pn server.js/ /home/pn/app/
|
34 |
|
|
|
|
|
35 |
CMD ["bash", "run.sh"]
|