authelia/internal/suites/example/compose/authelia/Dockerfile.backend

19 lines
292 B
Docker
Raw Normal View History

FROM golang:1.19.0-alpine
2019-11-30 23:49:52 +07:00
ARG USER_ID
ARG GROUP_ID
2019-11-30 23:49:52 +07:00
RUN addgroup --gid ${GROUP_ID} dev && \
adduser --uid ${USER_ID} -G dev -D dev && \
apk --no-cache add gcc git musl-dev
RUN mkdir -p /config && chown dev:dev /config
USER dev
ENV PATH="/app:${PATH}"
VOLUME /config
EXPOSE 9091