move_webui #35

Merged
brian merged 17 commits from move_webui into main 2024-05-21 16:19:33 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 38fc595725 - Show all commits
+1 -1
View File
@@ -49,7 +49,7 @@ RUN mkdir -p /home/app && \
# add code while changing ownership
WORKDIR $APP_HOME
COPY --chown=app:app ./core ./core
COPY --chown=app:app ./src ./src
COPY --chown=app:app ./web_ui/src ./src
# change to the app user
USER app
+2 -2
View File
@@ -4,12 +4,12 @@ import logging
import os
from pathlib import Path
from app import app
from dotenv import load_dotenv
from .app import app
# prepare optional local setup
env_path = Path(__file__).parent.parent.parent / 'local.env'
assert env_path.exists()
load_dotenv(env_path)
# ensure env vars set