Skip to content

Commit

Permalink
feat: Nodejs20に移行 (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer authored Nov 25, 2023
1 parent b1980e0 commit b98cb35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# ビルドの実行
FROM node:16.13.1-alpine as build-stage
FROM node:20.10.0-alpine as build-stage
COPY ./package* ./
COPY ./yarn* ./
RUN yarn
COPY . .
RUN yarn build

# runtime環境の作成
FROM node:16.13.1-alpine
FROM node:20.10.0-alpine
WORKDIR /usr/src/app
COPY --from=build-stage /dist ./dist/
COPY --from=build-stage /node_modules ./node_modules/
Expand Down

0 comments on commit b98cb35

Please sign in to comment.