Spaces:
Runtime error
Runtime error
Commit
·
590a133
1
Parent(s):
ef88d6c
Create Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM gufanxiaoshao/typing-word:latest
|
2 |
+
FROM node
|
3 |
+
COPY . /root/typing-word
|
4 |
+
WORKDIR /root/typing-word
|
5 |
+
EXPOSE 3000
|
6 |
+
RUN npm install
|
7 |
+
CMD ["npm", "start"]
|