authelia/Dockerfile

21 lines
575 B
Docker
Raw Normal View History

FROM alpine:3.9.4
2016-12-10 00:47:58 +00:00
WORKDIR /usr/app
2016-12-10 00:47:58 +00:00
RUN apk --no-cache add ca-certificates tzdata wget
# Install the libc required by the password hashing compiled with CGO.
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-2.30-r0.apk
RUN apk --no-cache add glibc-2.30-r0.apk
2016-12-10 00:47:58 +00:00
ADD dist/authelia authelia
ADD dist/public_html public_html
EXPOSE 9091
2017-01-12 22:27:53 +00:00
VOLUME /etc/authelia
VOLUME /var/lib/authelia
CMD ["./authelia", "-config", "/etc/authelia/config.yml"]