Spaces:
Sleeping
Sleeping
Commit
·
707dd79
1
Parent(s):
f4cfc08
Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
FROM ubuntu:18.04
|
2 |
|
3 |
RUN apt-get update
|
4 |
-
RUN apt-get install -y curl sudo openssh-server
|
5 |
-
|
6 |
-
|
|
|
7 |
|
8 |
RUN curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
9 |
RUN apt-get install -y nodejs
|
@@ -12,4 +13,4 @@ RUN npm install -g wstunnel
|
|
12 |
EXPOSE 7860
|
13 |
|
14 |
# run app when container launches
|
15 |
-
CMD wstunnel -s
|
|
|
1 |
FROM ubuntu:18.04
|
2 |
|
3 |
RUN apt-get update
|
4 |
+
RUN apt-get install -y curl sudo openssh-server
|
5 |
+
#RUN apt-get install -y nginx
|
6 |
+
#COPY ./default /etc/nginx/sites-available/default
|
7 |
+
#RUN service nginx restart
|
8 |
|
9 |
RUN curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
10 |
RUN apt-get install -y nodejs
|
|
|
13 |
EXPOSE 7860
|
14 |
|
15 |
# run app when container launches
|
16 |
+
CMD wstunnel -s 7860 --http
|