mirror of
https://github.com/n08i40k/schedule-parser-next.git
synced 2025-12-06 09:47:46 +03:00
Сборка Docker image
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user