File size: 450 Bytes
1d581ae
 
 
d061f1b
d87a0d1
2ca6ef0
 
11b78fb
1d581ae
 
 
 
 
 
9017cfa
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM ubuntu:18.04

RUN apt-get update
RUN apt-get install -y curl sudo openssh-server 

RUN apt-get install -y -q nginx
COPY ./default /etc/nginx/sites-available/default

RUN curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
RUN apt-get install -y nodejs
RUN npm install -g wstunnel

EXPOSE 7860

#CMD ["nginx", "-g", "daemon off;"]
#CMD ["nginx", "-g", "daemon off;", "wstunnel", "-s", "7860"]
CMD nginx -g daemon off; wstunnel -s 7860