Fixed build errors

This commit is contained in:
Sebastian Seedorf
2020-11-30 11:56:27 +01:00
parent 6051c7c7d2
commit c1abe8c2a4
4 changed files with 11 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ COPY . .
# install and test
USER root
RUN . /etc/profile && apk add --virtual .npm-install-virt --no-cache git
RUN chown -R appuser:appuser /app && . /etc/profile && apk add --virtual .npm-install-virt --no-cache git
USER appuser
RUN npm run install-prod
USER root