Travis-CI Dockerbuild test
This commit is contained in:
parent
4c1c60c152
commit
30984a1e79
2 changed files with 28 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
FROM lsiobase/alpine.python3
|
||||
|
||||
LABEL maintainer="dirtycajunrice"
|
||||
|
||||
ENV branch="master"
|
||||
|
||||
RUN \
|
||||
git clone --single-branch -b $branch https://github.com/Boerderij/Varken.git /app && \
|
||||
python3 -m pip install -r /app/requirements.txt && \
|
||||
chown -R abc:abc \
|
||||
/config \
|
||||
/app
|
||||
|
||||
CMD cp /app/data/varken.example.ini /config/varken.example.ini && python3 /app/Varken.py --data-folder /config
|
||||
|
||||
VOLUME /config
|
Loading…
Add table
Add a link
Reference in a new issue