diff --git a/Dockerfile b/Dockerfile index 073496d..40167e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,12 @@ ENV PYTHONUNBUFFERED=1 \ PYTHONDONTWRITEBYTECODE=1 # Install SQLite -RUN apt-get update && apt-get install -y sqlite3 +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y sqlite3 WORKDIR /app COPY requirements.txt . -RUN pip install --no-cache-dir --upgrade pip \ - && pip install --no-cache-dir -r requirements.txt +RUN pip install --root-user-action=ignore --no-cache-dir --upgrade pip \ + && pip install --root-user-action=ignore --no-cache-dir -r requirements.txt # Create database directory and set permissions RUN mkdir -p /app/data && chown -R www-data:www-data /app/data