added docker compose

This commit is contained in:
2023-08-01 15:30:53 +03:00
parent d227202cb9
commit f9fdd43f9f
5 changed files with 184 additions and 4 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:18-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci --omit=dev
COPY html ./html
COPY views ./views
COPY src ./src
CMD ["node", "src/index.js"]
EXPOSE 7865 8080