Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
FROM node:latest
|
| 2 |
RUN apt-get update && apt-get upgrade -y
|
| 3 |
-
WORKDIR /tmp
|
| 4 |
-
RUN
|
|
|
|
|
|
|
|
|
|
| 5 |
COPY . .
|
| 6 |
-
CMD ["
|
|
|
|
| 1 |
FROM node:latest
|
| 2 |
RUN apt-get update && apt-get upgrade -y
|
| 3 |
+
WORKDIR /tmp/app
|
| 4 |
+
RUN chmod -R 777 /tmp
|
| 5 |
+
RUN curl -L https://github.com/rishikesh-suvarna/tunl.cc/releases/download/v1.2.6/tunl-linux-x64 > /tmp/tunl
|
| 6 |
+
RUN chmod +x /tmp/tunl
|
| 7 |
+
RUN npm i express@github:dimdengd/ultimate-express
|
| 8 |
COPY . .
|
| 9 |
+
CMD ["sh", "-c", "node . && /tmp/tunl 7860 dump"]
|