chore(backend): enable verbose DEBUG logging for troubleshooting [32788f42]
This commit is contained in:
@@ -38,8 +38,11 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
# Copy the application code
|
||||
COPY . .
|
||||
|
||||
# Create directory for error screenshots
|
||||
RUN mkdir -p /app/errors && chmod 777 /app/errors
|
||||
|
||||
# Expose the port FastAPI will run on
|
||||
EXPOSE 8000
|
||||
|
||||
# Command to run the application
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
# Command to run the application with DEBUG logging
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--log-level", "debug"]
|
||||
|
||||
Reference in New Issue
Block a user