-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88993c3
commit 8e402b2
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# build environment | ||
FROM node:18-alpine3.17 as build | ||
FROM node:20-alpine3.17 as build | ||
WORKDIR /app | ||
COPY package.json yarn.lock .env.sh ./ | ||
RUN yarn install --frozen-lockfile | ||
|
@@ -12,7 +12,7 @@ RUN npm install -g @vercel/[email protected] | |
RUN npx ncc build src/main.js | ||
|
||
# production environment | ||
FROM node:18-alpine3.17 | ||
FROM node:20-alpine3.17 | ||
RUN apk add --no-cache \ | ||
git \ | ||
openssh-client \ | ||
|