mirror of https://github.com/tiyn/beaker-blog
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
339 B
24 lines
339 B
5 years ago
|
FROM ubuntu
|
||
|
|
||
|
MAINTAINER Tiyn tiyn@martenkante.eu
|
||
|
|
||
|
RUN apt-get update
|
||
|
|
||
|
RUN apt-get install python3 python3-pip -y
|
||
|
|
||
|
RUN git clone https://github.com/tiyn/flaskblog /blog
|
||
|
|
||
|
WORKDIR /blog/src
|
||
|
|
||
|
RUN pip3 install -r requirements.txt
|
||
|
|
||
|
VOLUME /blog/src/static/css
|
||
|
|
||
|
VOLUME /blog/src/templates
|
||
|
|
||
|
EXPOSE 5000
|
||
|
|
||
|
ENTRYPOINT [ "python3" ]
|
||
|
|
||
|
CMD [ "app.py" ]
|