Spaces:
Sleeping
Sleeping
FROM python:3.11 | |
# set work directory | |
WORKDIR /code | |
# install dependencies | |
COPY requirements.txt /code/ | |
RUN pip install -r requirements.txt | |
# copy project | |
COPY . /code/ | |
EXPOSE 8000 | |
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] |