Create Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM node:16-alpine
|
2 |
+
ENV PORT 7860
|
3 |
+
RUN chmod -R u+rwx,g+rwx,o+rwx /tmp
|
4 |
+
CMD git clone $URL /tmp/okok &&\
|
5 |
+
cd /tmp/okok &&\
|
6 |
+
npm install &&\
|
7 |
+
npm start || node index.js
|