node v17
This commit is contained in:
parent
9bf42c0cbf
commit
7950e23236
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
FROM node:18-alpine as build-image
|
||||
FROM node:17-alpine as build-image
|
||||
WORKDIR /app
|
||||
COPY package.json yarn.lock .
|
||||
RUN yarn install --frozen-lockfile
|
||||
COPY . .
|
||||
RUN yarn build
|
||||
|
||||
FROM node:18-alpine
|
||||
FROM node:17-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=build-image /app/index.js /app/index.js
|
||||
EXPOSE 3000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue