Files
app.fellies.art/Dockerfile
2025-06-29 12:08:29 +02:00

20 lines
284 B
Docker

# 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"]