examples/regular-django/Dockerfile
raw| 1 | FROM python:3.12 |
| 2 | ENV PYTHONUNBUFFERED 1 |
| 3 | |
| 4 | # Needed for SAML support |
| 5 | RUN apt-get update |
| 6 | RUN apt-get -y install libxml2-dev libxmlsec1-dev libxmlsec1-openssl |
| 7 | |
| 8 | WORKDIR /code/ |
| 9 | COPY requirements.txt \ |
| 10 | manage.py \ |
| 11 | Makefile \ |
| 12 | ./ |
| 13 | RUN pip install -r requirements.txt |
| 14 | COPY ./example ./example/ |
| 15 | EXPOSE 8000 |