FROM python:3.12 COPY src/requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt WORKDIR /pda-new # Copy control files and pull in dependencies COPY src/ ./ ENV DJANGO_APP_PORT=8000 ENV DJANGO_SECRET_KEY='=m=3)ea$s@*u25(8_9197vyh$8d+8_qqd7@*n6t6#^zih(t1rj' ENV DJANGO_ALLOWED_HOSTS='localhost','127.0.0.1' EXPOSE ${DJANGO_APP_PORT} ENTRYPOINT ["python","manage.py"] CMD ["runserver",${DJANGO_APP_PORT}]