multy-stub/Dockerfile

17 lines
367 B
Docker
Raw Normal View History

2024-10-16 11:06:23 +03:00
FROM node:20
2023-08-01 13:14:02 +03:00
2024-12-21 00:05:12 +03:00
RUN mkdir -p /usr/src/app/server/log/
2023-08-01 13:14:02 +03:00
WORKDIR /usr/src/app/
COPY ./server /usr/src/app/server
COPY ./package.json /usr/src/app/package.json
2024-05-19 20:50:15 +03:00
COPY ./package-lock.json /usr/src/app/package-lock.json
2023-08-01 13:14:02 +03:00
COPY ./.serverrc.js /usr/src/app/.serverrc.js
# COPY ./.env /usr/src/app/.env
2024-05-19 20:50:15 +03:00
# RUN npm i --omit=dev
RUN npm ci
2023-08-01 13:14:02 +03:00
EXPOSE 8044
CMD ["npm", "run", "up:prod"]