Added tests to docker-compose

This commit is contained in:
2021-06-23 22:59:27 +02:00
parent 9ba1c8d736
commit 2f5a7918d2
3 changed files with 26 additions and 1 deletions

11
tests/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:16.3.0-slim
WORKDIR /srv
COPY package* ./
RUN npm ci
COPY . ./
CMD ["npm", "run", "test"]