add docker image

This commit is contained in:
Bruno Clermont
2017-06-22 20:56:17 +02:00
committed by Zlatko Čalušić
parent 6b821132ec
commit 07b6d5facf
6 changed files with 112 additions and 0 deletions

14
docker/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM alpine:3.6
RUN apk add --no-cache --update apache2-utils
COPY docker/*_user rest-server /usr/bin/
COPY docker/entry.sh /
ENV DATA_DIRECTORY=/data
ENV PASSWORD_FILE=/data/.htpasswd
VOLUME /data
EXPOSE 80
ENTRYPOINT ["/entry.sh"]