You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
206 B
Docker

FROM python:3-alpine
COPY ./ /usr/src/app
WORKDIR /usr/src/app
RUN pip install -r requirements.txt
RUN python ./manage.py migrate
EXPOSE 8000
CMD [ "python", "./manage.py", "runserver", "0.0.0.0:8000" ]