update dockerfile
This commit is contained in:
parent
7b31053bab
commit
b56ea1b57a
1 changed files with 2 additions and 1 deletions
|
@ -23,9 +23,10 @@ RUN apk add --no-cache \
|
|||
zlib-dev
|
||||
|
||||
COPY package.json ./
|
||||
RUN yarn install
|
||||
RUN yarn install --prod=false
|
||||
COPY . ./
|
||||
RUN yarn build
|
||||
RUN yarn install --prod
|
||||
|
||||
FROM base AS runner
|
||||
|
||||
|
|
Loading…
Reference in a new issue