feat: add docker deploy #49

Merged
HChenZi merged 1 commits from master into master 2023-04-04 06:43:16 +00:00
2 changed files with 17 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM node:14
WORKDIR /app
COPY . .
RUN yarn install
EXPOSE 3000
CMD ["yarn", "start"]

6
docker-compose.yml Normal file
View File

@ -0,0 +1,6 @@
version: '3'
services:
moe-counter:
build: .
ports:
- "3000:3000"