diff --git a/DockerFileFolder/Dockerfile b/DockerFileFolder/Dockerfile index e637bf6..01f8dbc 100644 --- a/DockerFileFolder/Dockerfile +++ b/DockerFileFolder/Dockerfile @@ -37,9 +37,17 @@ USER user # Copy the entire application code COPY --chown=user:user . /app +# Debug: List contents of /app and /app/api +RUN ls -la /app && echo "Contents of /app/api:" && ls -la /app/api + # Install Python dependencies RUN pip install --no-cache-dir -U pip setuptools wheel -RUN pip install --no-cache-dir -r /app/api/requirements.txt + +# Debug: Check if requirements.txt exists +RUN if [ -f "/app/api/requirements.txt" ]; then echo "requirements.txt exists"; else echo "requirements.txt does not exist"; fi + +# Attempt to install requirements +RUN pip install --no-cache-dir -r /app/api/requirements.txt || echo "Failed to install requirements" # Install the application in editable mode using setup.py RUN pip install --no-cache-dir -e .