15 lines
185 B
Docker
15 lines
185 B
Docker
|
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"]
|