This commit is contained in:
Primakov Alexandr Alexandrovich
2024-12-05 22:55:59 +03:00
parent 9723c825f7
commit cf2eb88662
8 changed files with 63 additions and 2881 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM 'node:20'
RUN mkdir -p /usr/src/app/dist
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
COPY package-lock.json /usr/src/app/
COPY dist /usr/src/app/dist
RUN npm ci --omit=dev
EXPOSE 3003
CMD [ "npm", "run", "up:prod" ]