1
0
mirror of https://github.com/Adam-Ant/QuotesDB synced 2025-02-23 04:38:34 +00:00
QuotesDB/Dockerfile

15 lines
377 B
Docker
Raw Normal View History

2017-10-05 23:11:15 +01:00
FROM alpine:3.6
MAINTAINER Adam Dodman <"adam.dodman@gmx.com">
2017-10-20 18:07:11 +01:00
COPY . /quotedb/
2017-10-05 23:11:15 +01:00
2017-10-20 21:28:55 +01:00
RUN apk add --no-cache python3 py3-pip tini gcc python3-dev libc-dev ca-certificates libffi-dev \
2017-10-05 23:11:15 +01:00
&& pip3 install -r /quotedb/requirements.txt \
&& ln -s /quotedb/adduser.py /usr/bin/quote-adduser
VOLUME ["/config"]
CMD ["/sbin/tini","--","python3","-u","/quotedb/main.py","-c","/config"]