Final (for now) bug fixes

This commit is contained in:
Sebastian Seedorf
2020-11-24 00:20:56 +01:00
parent 93ed774609
commit f7d790818a
6 changed files with 28 additions and 29 deletions

View File

@@ -21,7 +21,7 @@ USER appuser
# copy data
COPY . .
# install
# install and test
USER root
RUN . /etc/profile && apk add --virtual .npm-install-virt --no-cache git
USER appuser
@@ -31,9 +31,6 @@ RUN apk del .npm-install-virt
USER appuser
ENV NODE_ENV production
# test
RUN npm test
# cleanup
USER root
RUN rm -r ./src ./public/js-source ./bio-proxy-configuration-for-docker && \