gunicorn command
All checks were successful
Build and Push Docker Image / build (push) Successful in 46s
All checks were successful
Build and Push Docker Image / build (push) Successful in 46s
This commit is contained in:
parent
13d6912f95
commit
c5f929782f
@ -6,8 +6,8 @@ ENV PYTHONUNBUFFERED 1
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY requirements.txt /app/
|
|
||||||
# install python dependencies
|
# install python dependencies
|
||||||
|
COPY requirements.txt /app/
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
@ -17,4 +17,4 @@ COPY . /app/
|
|||||||
RUN python manage.py migrate
|
RUN python manage.py migrate
|
||||||
|
|
||||||
# gunicorn
|
# gunicorn
|
||||||
# CMD ["gunicorn", "--config", "gunicorn-cfg.py", "core.wsgi"]
|
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "core.wsgi:application"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user