Added tests to docker-compose
This commit is contained in:
11
tests/Dockerfile
Normal file
11
tests/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM node:16.3.0-slim
|
||||
|
||||
WORKDIR /srv
|
||||
|
||||
COPY package* ./
|
||||
|
||||
RUN npm ci
|
||||
|
||||
COPY . ./
|
||||
|
||||
CMD ["npm", "run", "test"]
|
||||
Reference in New Issue
Block a user