Skip to content

Commit

Permalink
build(Dockerfile): add copy prisma step
Browse files Browse the repository at this point in the history
  • Loading branch information
jokj624 committed Sep 1, 2024
1 parent 2d1d14f commit e10aa58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ RUN apk add curl bash && curl -sfL https://gobinaries.com/tj/node-prune | bash -
WORKDIR /usr/src/app

COPY package.json ./
COPY prisma ./

RUN ls -a && yarn

FROM base AS dev

COPY . .

RUN ls -a && yarn build
RUN yarn build

# run node prune - 사용하지 않는 모듈 제거
# RUN /usr/local/bin/node-prune
Expand Down

0 comments on commit e10aa58

Please sign in to comment.