build: refactor production containers

Production containers now copy the Zeppelin source files at
build-time rather than using a shared volume. This means fewer
permission issues and backend/dashboard builds only have to run once
at build-time, not every time the containers are started.

Docs in PRODUCTION.md have been updated accordingly.
This commit is contained in:
Dragory 2023-07-01 10:33:35 +00:00
parent b60a7fb145
commit b67b3c35b7
No known key found for this signature in database
8 changed files with 60 additions and 64 deletions

View file

@ -3,7 +3,7 @@ server {
listen [::]:443 ssl http2;
server_name _DOCKER_PROD_DOMAIN_;
root /zeppelin/dashboard/dist;
root /var/www;
location / {
index index.html;