build: run tests in docker container during build
Reduces the risk of an updated Docker image breaking things unnoticed
This commit is contained in:
parent
b4bdd61cf6
commit
1363adf592
@ -5,6 +5,7 @@ COPY package.json package-lock.json ./
|
||||
RUN npm clean-install
|
||||
COPY . ./
|
||||
RUN npm run build
|
||||
RUN npm run test
|
||||
|
||||
FROM node:18.13.0-alpine as production
|
||||
RUN mkdir /peer-server
|
||||
|
Loading…
x
Reference in New Issue
Block a user