revert base
Some checks failed
Main / build-and-push-docker-image (20.x) (push) Failing after 3m1s

This commit is contained in:
2025-12-05 22:26:13 -05:00
parent a5c14ae5d0
commit 30389ff5ff

View File

@@ -1,5 +1,5 @@
# 1. Install dependencies and build the project
FROM alpine:latest AS builder
FROM node:20-alpine AS builder
# Install node and yarn
RUN apk add --no-cache nodejs npm
@@ -20,7 +20,7 @@ RUN yarn build
ENV NEXT_TELEMETRY_DISABLED=1
# 2. Production stage: use a minimal base image
FROM alpine:latest AS runner
FROM node:20-alpine AS runner
WORKDIR /app
# Set the environment variable for standalone output directory