mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-17 21:37:35 +00:00
2741a2b973
* Revert "disable login and console in docker (#138)" This reverts commit 0cd7f8e368de1f3df5bd3e779b6a25bdf26e934f. * Update prod
15 lines
406 B
Plaintext
15 lines
406 B
Plaintext
# 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"]
|