FROM authelia/authelia:4

COPY config/ /config/

# Create assets directory to satisfy Authelia's expectation
# even though we don't use custom assets
RUN mkdir -p /config/assets

CMD ["authelia", \
    "--config=/config/configuration.server.yml", \
    "--config=/config/configuration.ldap.yml", \
    "--config=/config/configuration.acl.yml", \
    "--config=/config/configuration.identity.providers.yml"]
