irongit
RootAiSec/app/dockerfile
14 lines284 B
1FROM python:3.10.12-slim
2RUN apt update && apt install xpdf -y
3
4ENV PYTHONDONTWRITEBYTECODE=1
5ENV PYTHONUNBUFFERED=1
6
7COPY requirements.txt .
8RUN python -m pip install --upgrade pip
9RUN pip install -r requirements.txt
10
11WORKDIR /code
12COPY . .
13
14CMD ["python", "manage.py", "smartwatch"]