Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (10 sloc) 222 Bytes
FROM python:3.6.4-alpine3.6
ENV FLASK_APP=minitwit
COPY . /app
WORKDIR /app
RUN pip install --editable .
RUN flask initdb
# Unit tests
# python setup.py test
EXPOSE 5000
CMD [ "flask", "run", "--host=0.0.0.0" ]