mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-25 18:55:27 -06:00
* chore: matrix build * chore: test goos goarch * fix: artifact path * chore: new download version * artifact paths
15 lines
424 B
Plaintext
15 lines
424 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"]
|
|
## TODO enable CMD |