Add Dockerfile

This commit is contained in:
2025-07-06 10:26:08 +02:00
parent c6a819c11b
commit 8d98ec9822

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
# Base image
FROM node:20
# Set working directory
WORKDIR /app
# Install dependencies
COPY package.json package-lock.json ./
RUN npm install
# Copy the rest of the code
COPY . .
RUN npx prisma generate
# Expose the dev port
EXPOSE 3000
# Run dev server
CMD ["npm", "run", "dev"]