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" ]