Files
v2.admin.gaertan.art/Dockerfile
2025-12-27 21:03:20 +01:00

21 lines
310 B
Docker

# Base image
FROM node:22
# 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 &&
npx prisma db seed
# Expose the dev port
EXPOSE 3000
# Run dev server
CMD ["npm", "run", "dev"]