We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e5a37 commit 568bdc9Copy full SHA for 568bdc9
.dockerignore
@@ -1,2 +1,3 @@
1
**
2
!build/
3
+!nginx.conf
Dockerfile
@@ -1,3 +1,4 @@
FROM nginx:1.11.9-alpine
-add build/ /usr/share/nginx/html/
+ADD build/ /usr/share/nginx/html/
4
+ADD nginx.conf /etc/nginx/conf.d/default.conf
nginx.conf
@@ -0,0 +1,14 @@
+server {
+ listen 80;
+ server_name localhost;
+
5
+ root /usr/share/nginx/html;
6
7
+ location / {
8
+ index index.html index.htm;
9
+ }
10
11
+ location /ws {
12
+ rewrite ^/ws/.*$ /workspace.html break;
13
14
+}
0 commit comments