Updated packages and Dockerfile
This commit is contained in:
@@ -22,7 +22,13 @@ USER appuser
|
||||
COPY . .
|
||||
|
||||
# install
|
||||
USER root
|
||||
RUN . /etc/profile && apk add --virtual .npm-install-virt --no-cache git
|
||||
USER appuser
|
||||
RUN npm run install-prod
|
||||
USER root
|
||||
RUN apk del .npm-install-virt
|
||||
USER appuser
|
||||
ENV NODE_ENV production
|
||||
|
||||
# cleanup
|
||||
|
||||
Reference in New Issue
Block a user