summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 316456fe2f375e0b9983b6168aa887d5e6024caa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM python:latest

RUN apt update && \
    apt upgrade -y && \
    rm -rf /var/lib/apt/lists/*

WORKDIR /app
COPY . .

RUN python -m pip install --upgrade pip

RUN pip install --no-cache-dir -r requirements.txt

CMD ["python", "manage.py", "runserver_plus", "--nopin", "0.0.0.0:8000"]