nit: update comment
Some checks failed
Build and Push Docker Image / build (pull_request) Failing after 32s

This commit is contained in:
Lucas Oskorep
2026-02-01 02:58:49 -05:00
parent 03e8fa18f3
commit c1f940fa57
3 changed files with 5 additions and 9 deletions

View File

@@ -1,17 +1,14 @@
# Stage 1: Build the Next.js frontend
FROM docker.io/library/node:25-alpine AS frontend-builder
FROM docker.io/library/node:25 AS frontend-builder
LABEL authors="lucasoskorep"
WORKDIR /build/mta-sign-ui
# Enable corepack for pnpm
RUN corepack enable && corepack prepare pnpm@10.28.1 --activate
# Copy package files first for better caching
COPY mta-sign-ui/package.json mta-sign-ui/pnpm-lock.yaml* ./
# Install dependencies (use frozen-lockfile if lock exists, otherwise generate)
RUN pnpm install
# Enable corepack and install pnpm from packageManager field
RUN npm install -g pnpm
# Copy the rest of the frontend source
COPY mta-sign-ui/ ./

View File

@@ -65,9 +65,9 @@ build-ui:
# Build multi-arch container image
containers:
podman build --platform linux/arm64,linux/amd64 -f docker/Dockerfile --manifest chaos2theory/pi-mta-sign:test .
podman build --platform linux/arm64,linux/amd64 -f Dockerfile --manifest chaos2theory/pi-mta-sign:test .
podman manifest push --all chaos2theory/pi-mta-sign:test
podman manifest rm chaos2theory/pi-mta-sign:test
podman manifest rm chaos2theory/pi-mta-sign:testpod
# Build container image (local arch only)
build-container:

View File

@@ -1 +0,0 @@
24