Add Dockerfile for containerized build and update package.json with start script for development server

This commit is contained in:
2026-03-01 15:40:05 +01:00
parent 5c23661a39
commit 2fea267ce9
2 changed files with 18 additions and 1 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:22-alpine AS builder
WORKDIR /pomoday
COPY package.json .
RUN npm install --global corepack@latest
RUN corepack enable pnpm
RUN pnpm install
COPY . .
RUN pnpm run build
CMD pnpm run start