mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
18 lines
297 B
Plaintext
18 lines
297 B
Plaintext
|
#
|
||
|
FROM alpine:latest as prepare
|
||
|
RUN adduser -D zitadel
|
||
|
COPY .build/go/zitadel /
|
||
|
COPY cmd/zitadel/*.yaml /
|
||
|
RUN chmod a+x /zitadel
|
||
|
|
||
|
#
|
||
|
FROM scratch as final
|
||
|
COPY --from=prepare /etc/passwd /etc/passwd
|
||
|
COPY --from=prepare / /
|
||
|
|
||
|
USER zitadel
|
||
|
|
||
|
HEALTHCHECK NONE
|
||
|
|
||
|
ENTRYPOINT ["/zitadel"]
|
||
|
## TODO enable CMD
|