GetTogether/Dockerfile
2018-01-02 06:48:44 -08:00

8 lines
274 B
Docker

FROM ubuntu:latest
EXPOSE 8000
RUN apt-get update && apt-get upgrade -y && apt-get install -y python3 python3-pip
COPY . /home/python
WORKDIR /home/python
RUN pip3 install -r requirements.txt
RUN python3 manage.py migrate
ENTRYPOINT python3 manage.py runserver 0.0.0.0:8000