fixed docker test
This commit is contained in:
parent
5aa0b3a74b
commit
7cbad42fa1
2 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
*
|
||||
!src
|
||||
!public
|
||||
!test
|
||||
!package.json
|
||||
!package-lock.json
|
||||
!docker-entrypoint.sh
|
||||
|
|
|
|||
|
|
@ -31,5 +31,6 @@ ENV NODE_ENV="test"
|
|||
|
||||
COPY package.json .
|
||||
RUN npm install
|
||||
COPY . .
|
||||
COPY / .
|
||||
|
||||
RUN xvfb-run --server-args="-screen 0 1024x768x24" npm test
|
||||
|
|
|
|||
Loading…
Reference in a new issue