ffreemt
commited on
Commit
·
e9198c2
1
Parent(s):
f25d8c5
Update USER 1000
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -3,6 +3,8 @@ FROM node:lts AS BUILD_IMAGE
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY . /app
|
|
|
|
|
|
|
| 6 |
|
| 7 |
RUN yarn install --registry https://registry.npmmirror.com/ && yarn run build
|
| 8 |
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY . /app
|
| 6 |
+
RUN chown -R 1000:1000 /app
|
| 7 |
+
USER 1000
|
| 8 |
|
| 9 |
RUN yarn install --registry https://registry.npmmirror.com/ && yarn run build
|
| 10 |
|