working database connection in Django
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user