Skip to content

Commit

Permalink
🚀 fix(docker): yarn install 누락 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kms0219kms committed Nov 21, 2023
1 parent 4ae9767 commit edf4035
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
FROM node:18
FROM node:18 as build

WORKDIR /usr/src/app

COPY . .
COPY .yarn ./.yarn
COPY package.json ./
COPY yarn.lock ./
COPY .yarnrc.yml ./

RUN yarn install --immutable

COPY . .
RUN yarn build

EXPOSE 3000
Expand Down

0 comments on commit edf4035

Please sign in to comment.