fix: revert to node 16 on actions

This commit is contained in:
diced 2022-03-13 19:27:32 -07:00
parent dbe8291f55
commit 0922ec020e
No known key found for this signature in database
GPG key ID: 85AB64C74535D76E
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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