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
|
WORKDIR /app
|
||||||
COPY package.json yarn.lock .
|
COPY package.json yarn.lock .
|
||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --frozen-lockfile
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
FROM node:18-alpine
|
FROM node:17-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-image /app/index.js /app/index.js
|
COPY --from=build-image /app/index.js /app/index.js
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue