aripbae commited on
Commit
ed63971
·
verified ·
1 Parent(s): 02207c7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 npm i express
 
 
 
5
  COPY . .
6
- CMD ["node", "."]
 
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"]