Skip to content

Commit 55262d9

Browse files
committed
feat: 도커파일 yarn 수정
1 parent 862c831 commit 55262d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ RUN yarn build
1010
FROM node:22-alpine
1111
WORKDIR /app
1212
COPY --from=builder /app/.next ./.next
13-
COPY --from=builder /app/package*.json ./
14-
RUN npm ci --production
13+
COPY --from=builder /app/package.json yarn.lock ./
14+
RUN yarn install --production
1515

1616
EXPOSE 3000
17-
CMD ["npm", "start"]
17+
CMD ["yarn", "start"]

0 commit comments

Comments
 (0)