- add install yarn command to dockerfile
Some checks failed
continuous-integration/drone Build is failing
Some checks failed
continuous-integration/drone Build is failing
This commit is contained in:
parent
6742eb4442
commit
0e0e10bfe5
@ -16,9 +16,10 @@ FROM base as runtime
|
|||||||
WORKDIR /home/node/app
|
WORKDIR /home/node/app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
# RUN yarn install --production
|
RUN npm install yarn
|
||||||
# COPY --from=builder /home/node/app/dist ./dist
|
RUN yarn install --production
|
||||||
# COPY --from=builder /home/node/app/build ./build
|
COPY --from=builder /home/node/app/dist ./dist
|
||||||
|
COPY --from=builder /home/node/app/build ./build
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user