Files
Django_kube/dockerfile
T
pi-ux-ce a9b6c92864
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m42s
try againto apply migrations
2024-10-30 11:02:10 +00:00

13 lines
259 B
Docker

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