Fixed build errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user