alprss/Dockerfile

12 lines
372 B
Text
Raw Normal View History

2020-05-11 13:58:11 +00:00
FROM reg.zknt.org/zknt/python
2018-12-12 18:57:03 +00:00
COPY requirements.txt /app/requirements.txt
WORKDIR /app
2020-05-18 00:28:24 +00:00
RUN apk add --no-cache gdbm gcc libxml2 libxslt libxml2-dev musl-dev libxslt-dev python3-dev && pip3 install -r requirements.txt && apk del gcc libxml2-dev musl-dev libxslt-dev python3-dev
2018-12-12 18:57:03 +00:00
COPY . /app
ENV FLASK_APP=app.py
VOLUME /data
EXPOSE 5000
ENTRYPOINT flask run --host=0.0.0.0