Сборка Docker image

This commit is contained in:
2025-03-02 17:22:48 +04:00
parent 6734bb1321
commit a70d2f442d
8 changed files with 13197 additions and 16 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:current-alpine3.19
LABEL authors="n08i40k"
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm i --omit=dev
RUN npm i prisma
COPY . ./
RUN npm run build
ENTRYPOINT ["sh", "-c", "/scripts/start.sh"]
CMD ["npm", "run", "start:prod"]