working database connection in Django

This commit is contained in:
WGAVermeer
2026-03-06 16:56:14 +01:00
parent 860b0ef033
commit d359cb9780
6 changed files with 105 additions and 47 deletions

View File

@@ -1,16 +1,13 @@
FROM python:3.14-alpine
RUN mkdir /app
WORKDIR /app
RUN pip install --upgrade pip
COPY requirements.txt /app/
COPY gunicorn.conf.py /app/
COPY ./app/ /app/
COPY ./src/ /app/
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
EXPOSE 8000