Files
Django_kube/dockerfile
Pierre Geeraert 8f30fdb88c
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m53s
should be good now
2025-12-04 16:16:31 +00:00

13 lines
366 B
Docker

FROM gitea.tryton.geeraert.eu/pi-ux-ce/modified-python:latest
ENV PYTHONUNBUFFERED 1
WORKDIR /code/
# Copy the rest of your application code (Changes frequently, invalidates subsequent cache)
COPY . ./
RUN python django_code/manage.py migrate
# CMD is the command run when the container starts
CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ]