add docker support

This commit is contained in:
zyronon
2024-01-10 16:07:45 +08:00
parent 6b06a9174f
commit d2753d04b1
3 changed files with 51 additions and 40 deletions

6
Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM node
COPY . /root/typing-word
WORKDIR /root/typing-word
EXPOSE 3000
RUN npm install
CMD ["npm", "start"]