Create Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM nikolaik/python-nodejs:latest
|
| 2 |
+
ENV DEBIAN_FRONTEND noninteractive
|
| 3 |
+
RUN apt update
|
| 4 |
+
WORKDIR /tmp/app
|
| 5 |
+
RUN npm i -g @danielx/civet tunl.cc
|
| 6 |
+
RUN npm i express@github:dimdengd/ultimate-express \
|
| 7 |
+
morgan pretty-ms serve-index
|
| 8 |
+
#RUN chmod -R 777 /tmp
|
| 9 |
+
COPY . .
|
| 10 |
+
CMD ["sh", "-c", "civet main.civet & tunl 7860 akkun"]
|