fix: revert to node 16 on actions
This commit is contained in:
parent
dbe8291f55
commit
0922ec020e
2 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM node:17-alpine AS deps
|
FROM node:16-alpine AS deps
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
|
@ -6,7 +6,7 @@ COPY package.json yarn.lock ./
|
||||||
RUN apk add --no-cache libc6-compat
|
RUN apk add --no-cache libc6-compat
|
||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --frozen-lockfile
|
||||||
|
|
||||||
FROM node:17-alpine AS builder
|
FROM node:16-alpine AS builder
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
COPY --from=deps /build/node_modules ./node_modules
|
COPY --from=deps /build/node_modules ./node_modules
|
||||||
|
@ -20,7 +20,7 @@ ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
|
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
FROM node:17-alpine AS runner
|
FROM node:16-alpine AS runner
|
||||||
WORKDIR /zipline
|
WORKDIR /zipline
|
||||||
|
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
FROM node:17 AS deps
|
FROM node:16 AS deps
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
|
|
||||||
RUN yarn install --frozen-lockfile
|
RUN yarn install --frozen-lockfile
|
||||||
|
|
||||||
FROM node:17 AS builder
|
FROM node:16 AS builder
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
COPY --from=deps /build/node_modules ./node_modules
|
COPY --from=deps /build/node_modules ./node_modules
|
||||||
|
@ -19,7 +19,7 @@ ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
|
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
FROM node:17 AS runner
|
FROM node:16 AS runner
|
||||||
WORKDIR /zipline
|
WORKDIR /zipline
|
||||||
|
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
|
|
Loading…
Reference in a new issue