new base (again)
Some checks are pending
Main / build-and-push-docker-image (20.x) (push) Waiting to run

This commit is contained in:
2025-12-05 22:08:32 -05:00
parent 0a8e3c4c0f
commit d56e3ecb20

View File

@@ -1,14 +1,16 @@
# 1. Install dependencies and build the project
FROM ubuntu:latest AS builder
FROM alpine:latest AS builder
# Enable Corepack
RUN corepack enable
# Set Yarn to the latest stable version
RUN apt-get update && apt-get install -y nodejs yarn
RUN apk add --no-cache nodejs yarn
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn
RUN yarn install --immutable
COPY . .