Skip to content

Commit

Permalink
build: Node.js v20.12.2으로 업그레이드
Browse files Browse the repository at this point in the history
  • Loading branch information
JHyeok committed Apr 13, 2024
1 parent 5904b50 commit c220136
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.9.0
v20.12.2
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.9.0-alpine AS builder
FROM node:20.12.2-alpine AS builder

WORKDIR /usr/src/app

Expand All @@ -10,7 +10,7 @@ RUN yarn build

RUN yarn install --production

FROM node:20.9.0-alpine AS deploy
FROM node:20.12.2-alpine AS deploy

ENV NODE_ENV production

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:20.9.0-alpine AS builder
FROM node:20.12.2-alpine AS builder

WORKDIR /usr/src/app
COPY . .

RUN yarn install && yarn build

FROM node:20.9.0-alpine
FROM node:20.12.2-alpine

WORKDIR /usr/src/app
COPY --from=builder /usr/src/app ./
Expand Down

0 comments on commit c220136

Please sign in to comment.