Files
computer-science-flash-cards/Dockerfile
2016-10-17 09:01:26 +07:00

12 lines
213 B
Docker

FROM python
MAINTAINER Tinpee <tinpee.dev@gmail.com>
ADD . /src
WORKDIR /src
RUN pip install flask gunicorn \
&& cp cards-jwasham.db cards.db
CMD ["gunicorn", "--bind", " 0.0.0.0:8000", "flash_cards:app"]