Files
Django_kube/dockerfile
T
pi-ux-ce 82ed5d12e1
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m20s
it was working actually
2024-10-30 11:07:43 +00:00

13 lines
247 B
Docker

FROM python:3
WORKDIR /code/
COPY requirements.txt ./
COPY django_code ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN python django_code/manage.py migrate
CMD [ "python","django_code/manage.py","runserver","0.0.0.0:8000" ]