GetTogether/Dockerfile

9 lines
274 B
Text
Raw Normal View History

2017-12-30 08:08:43 +01:00
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