add .dockerignore and fixing nginx conf for local deploy
This commit is contained in:
parent
a2c4171fc2
commit
37b91f9556
2 changed files with 6 additions and 3 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
node_modules
|
||||
build
|
|
@ -2,9 +2,10 @@ server {
|
|||
listen 80;
|
||||
server_name localhost;
|
||||
root /app/dashboard/;
|
||||
|
||||
location / {
|
||||
|
||||
location /dashboard/ {
|
||||
alias /app/dashboard/;
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html$args;
|
||||
try_files $uri $uri/ /dashboard/index.html$args;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue