Files
bracket/frontend/Dockerfile
dependabot[bot] d7521e2e30 Bump node from 25-alpine to 26-alpine in /frontend
Bumps node from 25-alpine to 26-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 26-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-26 09:51:03 +00:00

26 lines
499 B
Docker

# Build static files
FROM node:26-alpine AS builder
WORKDIR /app
ENV NODE_ENV=production
COPY . .
RUN apk add pnpm && \
CI=true pnpm install && \
pnpm build
# Production image, copy all the static files and run next
FROM caddy:2-alpine AS runner
WORKDIR /app
COPY --from=builder /app/dist /app/dist
COPY --from=builder /app/Caddyfile /etc/caddy/Caddyfile
EXPOSE 3000
HEALTHCHECK --interval=3s --timeout=5s --retries=10 \
CMD ["wget", "-O", "/dev/null", "http://localhost:3000"]