Files
finding-out/Dockerfile
SirBlobby 01b3dba533 Initial commit
Created from https://vercel.com/new
2025-11-19 17:48:12 +00:00

18 lines
405 B
Docker

# Base stage for building the static files
FROM node:lts AS base
WORKDIR /app
# Install pnpm
RUN corepack enable && corepack prepare pnpm@latest --activate
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm run build
# Runtime stage for serving the application
FROM nginx:mainline-alpine-slim AS runtime
COPY --from=base /app/dist /usr/share/nginx/html
EXPOSE 80