mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
f939eab133
* fix: logs * Update Dockerfile * Fallback to old Docker file * fix: for loop * fix: for loop * fix: for loop * fix: remove logs * fix: remove logs Co-authored-by: Florian Forster <florian@caos.ch>
15 lines
406 B
Docker
15 lines
406 B
Docker
# This Stage prepares the user in the container and copies the files
|
|
FROM alpine:latest as prepare
|
|
RUN adduser -D zitadel
|
|
COPY .artifacts/zitadel-linux-amd64 /zitadel
|
|
COPY cmd/zitadel/*.yaml /
|
|
RUN chmod a+x /zitadel
|
|
|
|
# This Stage is intended as production image
|
|
FROM scratch as final
|
|
COPY --from=prepare /etc/passwd /etc/passwd
|
|
COPY --from=prepare / /
|
|
USER zitadel
|
|
HEALTHCHECK NONE
|
|
ENTRYPOINT ["/zitadel"]
|