Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -14,8 +14,6 @@ RUN chown -R pn:pn /var/cache/nginx \
|
|
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
|
@@ -24,6 +22,8 @@ RUN mkdir $HOME/app
|
|
24 |
|
25 |
WORKDIR $HOME/app
|
26 |
|
|
|
|
|
27 |
COPY --chown=pn nginx.conf /etc/nginx/sites-available/default
|
28 |
|
29 |
COPY --chown=pn build/ /home/pn/app/build/
|
|
|
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
|
|
|
22 |
|
23 |
WORKDIR $HOME/app
|
24 |
|
25 |
+
RUN npm install --save express ws
|
26 |
+
|
27 |
COPY --chown=pn nginx.conf /etc/nginx/sites-available/default
|
28 |
|
29 |
COPY --chown=pn build/ /home/pn/app/build/
|