Merge pull request #243 from koalaeagle/main

fixed an issue with the web interface not loading under docker
This commit is contained in:
Saifeddine ALOUI 2023-06-01 19:32:36 +02:00 committed by GitHub
commit d76ee2eacd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ COPY ./api /srv/api
COPY ./bindings /srv/bindings COPY ./bindings /srv/bindings
COPY ./static /srv/static COPY ./static /srv/static
COPY ./templates /srv/templates COPY ./templates /srv/templates
COPY ./web /srv/web
# COPY ./models /srv/models # Mounting model is more efficient # COPY ./models /srv/models # Mounting model is more efficient
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "9600", "--db_path", "data/database.db"] CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "9600", "--db_path", "data/database.db"]