diff --git a/Dockerfile b/Dockerfile index b06c458..dea5121 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,9 @@ RUN pip install --no-cache-dir -r requirements.txt # Applikation kopieren COPY app/ ./app +# Setze PYTHONPATH damit Imports funktionieren +ENV PYTHONPATH=/app + # Exponierter Port EXPOSE 8000 diff --git a/debug_structure.py b/debug_structure.py new file mode 100644 index 0000000..8700903 --- /dev/null +++ b/debug_structure.py @@ -0,0 +1,9 @@ +import os +from pathlib import Path + +# Pruefe im Dockerfile: +print("=== DEBUG ===") +print(f"CWD: {os.getcwd()}") +for root, dirs, files in os.walk("/app"): + for file in files: + print(os.path.join(root, file)) \ No newline at end of file