nit: update comment
Some checks failed
Build and Push Docker Image / build (pull_request) Failing after 32s
Some checks failed
Build and Push Docker Image / build (pull_request) Failing after 32s
This commit is contained in:
@@ -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/ ./
|
||||
|
||||
4
justfile
4
justfile
@@ -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:
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
24
|
||||
Reference in New Issue
Block a user