mirror of
https://github.com/Adam-Ant/QuotesDB
synced 2025-06-29 10:40:57 +00:00
Add Dockerfile, and related files
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM alpine:3.6
|
||||
|
||||
MAINTAINER Adam Dodman <"adam.dodman@gmx.com">
|
||||
|
||||
ADD * /quotedb/
|
||||
|
||||
RUN apk add --no-cache python3 py3-pip tini gcc python3-dev libc-dev libffi-dev \
|
||||
&& 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"]
|
Reference in New Issue
Block a user