Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -33,7 +33,10 @@ COPY server.js .
|
|
| 33 |
|
| 34 |
COPY config.env /home/suhail
|
| 35 |
|
|
|
|
|
|
|
| 36 |
RUN chmod 777 /home/suhail/config.env
|
|
|
|
| 37 |
|
| 38 |
# Install dependencies (try npm first, fall back to yarn)
|
| 39 |
RUN yarn install
|
|
|
|
| 33 |
|
| 34 |
COPY config.env /home/suhail
|
| 35 |
|
| 36 |
+
|
| 37 |
+
USER root
|
| 38 |
RUN chmod 777 /home/suhail/config.env
|
| 39 |
+
USER node
|
| 40 |
|
| 41 |
# Install dependencies (try npm first, fall back to yarn)
|
| 42 |
RUN yarn install
|