Added backend tests and npm test to Dockerfile

This commit is contained in:
Sebastian Seedorf
2020-11-20 08:42:41 +01:00
parent cfb23f309a
commit 93ed774609
6 changed files with 176 additions and 3 deletions

View File

@@ -31,6 +31,9 @@ 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 && \