add docker setup for db and dev server

This commit is contained in:
Nayan Sawyer
2026-03-13 16:32:56 -04:00
parent 90ec2a5f8f
commit d1d445bf39
4 changed files with 53 additions and 1 deletions

15
Dockerfile.dev Normal file
View File

@@ -0,0 +1,15 @@
FROM node:22-alpine
WORKDIR /app
COPY package.json ./
COPY pnpm-lock.yaml ./
RUN npm install -g pnpm
RUN pnpm install
# Copy the rest of the application source, excluding node_modules via .dockerignore
COPY . .
CMD ["pnpm", "run", "dev"]