todou-backend/Dockerfile

15 lines
185 B
Docker
Raw Normal View History

2025-02-10 23:23:40 +01:00
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
# Генерируем Prisma Client
RUN npx prisma generate
EXPOSE 4000
CMD ["npm", "run", "dev"]