Forráskód Böngészése

trial run on non-alpine images

this is to test and see the size differences and if it’ll fix the SWC errors given by Next
Ben Phelps 2 éve
szülő
commit
9bef2a8fcb
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      Dockerfile

+ 3 - 3
Dockerfile

@@ -1,7 +1,7 @@
 # syntax = docker/dockerfile:latest
 # syntax = docker/dockerfile:latest
 
 
 # Install dependencies only when needed
 # Install dependencies only when needed
-FROM node:current-alpine AS deps
+FROM node:current AS deps
 
 
 WORKDIR /app
 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
 RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm install -r --offline
 
 
 # Rebuild the source code only when needed
 # Rebuild the source code only when needed
-FROM node:current-alpine AS builder
+FROM node:current AS builder
 WORKDIR /app
 WORKDIR /app
 
 
 COPY --link --from=deps /app/node_modules ./node_modules/
 COPY --link --from=deps /app/node_modules ./node_modules/
@@ -32,7 +32,7 @@ RUN <<EOF
 EOF
 EOF
 
 
 # Production image, copy all the files and run next
 # Production image, copy all the files and run next
-FROM node:current-alpine AS runner
+FROM node:current AS runner
 LABEL org.opencontainers.image.title "Homepage"
 LABEL org.opencontainers.image.title "Homepage"
 LABEL org.opencontainers.image.description "A self-hosted services landing page, with docker and service integrations."
 LABEL org.opencontainers.image.description "A self-hosted services landing page, with docker and service integrations."
 LABEL org.opencontainers.image.url="https://github.com/benphelps/homepage"
 LABEL org.opencontainers.image.url="https://github.com/benphelps/homepage"