feat: base frontend deployment

This commit is contained in:
2025-08-07 21:38:45 +01:00
parent 859e075407
commit 828332a786
4 changed files with 197 additions and 8 deletions

View File

@@ -1,4 +1,16 @@
FROM node:24
FROM node:24-slim AS base
WORKDIR /app
# TODO
# Install pnpm
RUN npm install -g pnpm
# Install dependencies
COPY package.json ./
COPY pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
# Prepare application
COPY . ./
RUN pnpm build
CMD ["pnpm", "preview"]