Makefile: add rules for docker image build

This commit is contained in:
Zlatko Čalušić
2017-10-18 23:38:18 +02:00
parent ebe3bc04b5
commit ca5664b8a7
3 changed files with 22 additions and 13 deletions

16
Dockerfile Normal file
View File

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