Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
feat: update docker-file
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed May 1, 2020
1 parent 1b108bc commit 8da3b81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL com.yanceyleo.maintainer="Yancey Inc. <[email protected]>" \

WORKDIR /app

COPY package*.json ./
COPY package.json ./

RUN yarn install

Expand All @@ -19,7 +19,7 @@ FROM node:12-alpine

WORKDIR /app

COPY --from=builder /app/package*.json ./
COPY --from=builder /app/package.json ./

RUN yarn install --only=production

Expand Down

0 comments on commit 8da3b81

Please sign in to comment.