diff --git a/Dockerfile b/Dockerfile index bd3a603..41eedb9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]