skip to Main Content

Log files isn't writable – Docker

I'm creating a website based on Django with Docker. I've a problem whit the management of log files of Gunicorn. With the script below the site runs without problems: #!/usr/bin/env bash cd personal_website exec gunicorn personal_website.wsgi:application --name personal_website --bind 0.0.0.0:"${PROJECT_PORT}"…

VIEW QUESTION

Multistage docker build for Django

I am dockerizing my Django application with docker multi-stage build. Now am facing an issue with dependencies Dockerfile FROM python:3.8-slim-buster AS base WORKDIR /app RUN python -m venv venv ENV PATH="/app/venv:$PATH" COPY requirements.txt . RUN pip install -r requirements.txt &&…

VIEW QUESTION
Back To Top
Search