fix: resolve static files and import issues
- Fix static files not loading due to volume mount conflict - Remove problematic volume mount from docker-compose.yml - Add __init__.py files to make Python packages - Fix all import statements to use relative imports - Update start.sh to use correct module name - Update config.py with correct default paths and values - Ensure all environment variables are properly loaded from .env file
This commit is contained in:
@@ -10,6 +10,9 @@ COPY app/app.py /app/app.py
|
||||
COPY app/excluded_containers.json /app/excluded_containers.json
|
||||
COPY ./app/templates /app/templates
|
||||
COPY ./app/static /app/static
|
||||
COPY ./app/core /app/core
|
||||
COPY ./app/api /app/api
|
||||
COPY ./app/models /app/models
|
||||
|
||||
# Создаем пользователя и добавляем в группу docker
|
||||
RUN useradd -m appuser && \
|
||||
|
||||
Reference in New Issue
Block a user