diff --git a/Dockerfile b/Dockerfile index 63867b6..ff885fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:17-alpine AS deps +FROM node:16-alpine AS deps WORKDIR /build COPY package.json yarn.lock ./ @@ -6,7 +6,7 @@ COPY package.json yarn.lock ./ RUN apk add --no-cache libc6-compat RUN yarn install --frozen-lockfile -FROM node:17-alpine AS builder +FROM node:16-alpine AS builder WORKDIR /build COPY --from=deps /build/node_modules ./node_modules @@ -20,7 +20,7 @@ ENV NEXT_TELEMETRY_DISABLED 1 RUN yarn build -FROM node:17-alpine AS runner +FROM node:16-alpine AS runner WORKDIR /zipline ENV NODE_ENV production diff --git a/Dockerfile-arm b/Dockerfile-arm index e8207b9..1d1385f 100644 --- a/Dockerfile-arm +++ b/Dockerfile-arm @@ -1,11 +1,11 @@ -FROM node:17 AS deps +FROM node:16 AS deps WORKDIR /build COPY package.json yarn.lock ./ RUN yarn install --frozen-lockfile -FROM node:17 AS builder +FROM node:16 AS builder WORKDIR /build COPY --from=deps /build/node_modules ./node_modules @@ -19,7 +19,7 @@ ENV NEXT_TELEMETRY_DISABLED 1 RUN yarn build -FROM node:17 AS runner +FROM node:16 AS runner WORKDIR /zipline ENV NODE_ENV production