Skip to content
Snippets Groups Projects
Dockerfile 340 B
FROM python:3.8 AS base

ENV PYTHONUNBUFFERED=1

WORKDIR /aura
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

EXPOSE 8000


FROM base AS dev

#VOLUME .
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000" ]


FROM base AS prod

COPY . .
CMD ["sh", "-c", "gunicorn -b 0.0.0.0:8000 -w $(nproc) steering.wsgi"]