Added dockerfile.

This commit is contained in:
Kaur Laanemäe
2025-06-16 14:34:04 +03:00
parent 1828d1e5fa
commit 8209fb874f

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM node:20-alpine as builder
WORKDIR /app
RUN npm install -g pnpm@9
# Copy necessary files for workspace resolution
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
COPY packages packages
COPY tooling tooling
# Install all dependencies
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build