1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00
django/Dockerfile
2024-06-10 01:12:20 +02:00

8 lines
206 B
Docker

FROM python:3.10-buster
EXPOSE 8000
WORKDIR /app
COPY . /app
RUN python -m pip install .
RUN django-admin startproject allyapp
ENTRYPOINT ["python3"]
CMD ["allyapp/manage.py", "runserver", "0.0.0.0:8000"]