Spaces:
Sleeping
Sleeping
Commit
·
d061f1b
1
Parent(s):
a3b67a1
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
FROM ubuntu:18.04
|
2 |
|
3 |
RUN apt-get update
|
4 |
-
RUN apt-get install -y curl openssh-server
|
5 |
-
RUN apt-get install -y nginx
|
6 |
COPY ./default /etc/nginx/sites-available/default
|
7 |
RUN nginx -t
|
8 |
-
|
9 |
|
10 |
RUN curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
11 |
RUN apt-get install -y nodejs
|
@@ -14,4 +14,4 @@ RUN npm install -g wstunnel
|
|
14 |
EXPOSE 7860
|
15 |
|
16 |
# run app when container launches
|
17 |
-
CMD wstunnel -s 7860
|
|
|
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 -q nginx
|
6 |
COPY ./default /etc/nginx/sites-available/default
|
7 |
RUN nginx -t
|
8 |
+
RUN cat /etc/nginx/sites-available/default
|
9 |
|
10 |
RUN curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
11 |
RUN apt-get install -y nodejs
|
|
|
14 |
EXPOSE 7860
|
15 |
|
16 |
# run app when container launches
|
17 |
+
CMD nginx; wstunnel -s 7860;
|