Skip to content

Commit

Permalink
fix: copy required files for docker image (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
XVincentX authored Aug 29, 2019
1 parent 4f5ec24 commit ee7eaad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ img
.circleci
__mocks__
__tests__
test-harness
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM node:12 as compiler

WORKDIR /usr/src/spectral

COPY package.json yarn.lock tsconfig.build.json tsconfig.json /usr/src/spectral/
COPY package.json tsconfig.rollup.json rollup.config.js yarn.lock tsconfig.build.json tsconfig.json /usr/src/spectral/
COPY scripts/ /usr/src/spectral/scripts
COPY src/ /usr/src/spectral/src/

RUN yarn && yarn build
Expand Down

0 comments on commit ee7eaad

Please sign in to comment.