gunicorn command
All checks were successful
Build and Push Docker Image / build (push) Successful in 46s

This commit is contained in:
Corban-Lee Jones 2024-08-11 22:35:54 +01:00
parent 13d6912f95
commit c5f929782f

View File

@ -6,8 +6,8 @@ ENV PYTHONUNBUFFERED 1
WORKDIR /app
COPY requirements.txt /app/
# install python dependencies
COPY requirements.txt /app/
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
@ -17,4 +17,4 @@ COPY . /app/
RUN python manage.py migrate
# gunicorn
# CMD ["gunicorn", "--config", "gunicorn-cfg.py", "core.wsgi"]
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "core.wsgi:application"]