Skip to content

Commit

Permalink
Merge pull request #21 from HeroicHitesh/patch-1
Browse files Browse the repository at this point in the history
Avoid npm install on every docker build
  • Loading branch information
jatinkatyal13 authored May 27, 2020
2 parents 033cec7 + 95a6228 commit 17bef80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ WORKDIR /usr/src/certificate-worker

COPY package.json ./
COPY yarn.lock ./
COPY src ./src

RUN yarn install --pure-lockfile

COPY src ./src

CMD ["yarn", "start"]

0 comments on commit 17bef80

Please sign in to comment.