Removed qemu docker pull, fixed Dockerfile for env vars
Build and Deploy / build-and-push (push) Successful in 2m37s

This commit is contained in:
pascalyazid committed 2026-09-28 20:30:31 +02:00
1 parent 661a3715bd
commit 9dd7783c3e
2 files changed
+10 -4

No files matched your search

-3
View File
@@ -15,9 +15,6 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
+10 -1
View File
@@ -11,6 +11,15 @@ FROM base AS builder
WORKDIR /app WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
# --- MUST BE HERE IN THE BUILDER STAGE ---
ARG NEXT_PUBLIC_SUPABASE_URL
ARG NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY
ENV NEXT_PUBLIC_SUPABASE_URL=$NEXT_PUBLIC_SUPABASE_URL
ENV NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=$NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY
# -----------------------------------------
RUN bun run build RUN bun run build
# Step 3. Production image # Step 3. Production image
@@ -24,4 +33,4 @@ COPY --from=builder /app/.next/static ./.next/static
EXPOSE 3000 EXPOSE 3000
ENV PORT=3000 ENV PORT=3000
CMD ["bun", "server.js"] CMD ["bun", "server.js"]