Merge pull request #49 from HChenZi/master

feat: add docker deploy
This commit is contained in:
Jad 2023-04-04 14:43:16 +08:00 committed by GitHub
commit 4fcc0a05db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"