From 9bef2a8fcbfd7cc8febe62f91ee4ee19b9dce6d4 Mon Sep 17 00:00:00 2001 From: Ben Phelps Date: Wed, 7 Sep 2022 11:52:17 +0300 Subject: [PATCH] trial run on non-alpine images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this is to test and see the size differences and if it’ll fix the SWC errors given by Next --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c45c6026f..5b4cfa8ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax = docker/dockerfile:latest # Install dependencies only when needed -FROM node:current-alpine AS deps +FROM node:current AS deps WORKDIR /app @@ -19,7 +19,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm f RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm install -r --offline # Rebuild the source code only when needed -FROM node:current-alpine AS builder +FROM node:current AS builder WORKDIR /app COPY --link --from=deps /app/node_modules ./node_modules/ @@ -32,7 +32,7 @@ RUN <