Files
rest-server/docker/Dockerfile
Zlatko Čalušić ebe3bc04b5 Docker: various updates
- use exec in entrypoint.sh, get rid of extra shell process
- use CMD instead of ENTRYPOINT, so image can be run with /bin/sh arg
2017-10-18 23:18:44 +02:00

17 lines
259 B
Docker

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" ]