authelia/Dockerfile

21 lines
575 B
Docker
Raw Normal View History

FROM alpine:3.9.4
2016-12-10 07:47:58 +07:00
WORKDIR /usr/app
2016-12-10 07:47:58 +07: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 07:47:58 +07:00
ADD dist/authelia authelia
ADD dist/public_html public_html
EXPOSE 9091
2017-01-13 05:27:53 +07:00
VOLUME /etc/authelia
VOLUME /var/lib/authelia
CMD ["./authelia", "-config", "/etc/authelia/config.yml"]