Some checks failed
CI / Run lints and checks (push) Failing after 47s
CI / Run tests (push) Failing after 1s
CI / Run race tests (push) Failing after 5s
CI / Build CLI docs (push) Has been skipped
CI / Run buf actions (push) Failing after 5s
CodeQL / Analyze (go) (push) Failing after 3s
CodeQL / Analyze (javascript) (push) Failing after 2s
Docker Image Scanners / scanners (push) Failing after 3s
Format / format (push) Failing after 3s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Draft newsletter (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
23 lines
623 B
Docker
23 lines
623 B
Docker
FROM alpine:3.21.3
|
|
|
|
RUN addgroup -S ory; \
|
|
adduser -S ory -G ory -D -h /home/ory -s /bin/nologin; \
|
|
chown -R ory:ory /home/ory
|
|
|
|
RUN apk --no-cache --latest upgrade
|
|
RUN apk --no-cache --upgrade --latest add ca-certificates
|
|
|
|
COPY keto /usr/bin/keto
|
|
|
|
# Exposing the ory home directory to simplify passing in keto configuration (e.g. if the file $HOME/keto.yaml
|
|
# exists, it will be automatically used as the configuration file).
|
|
VOLUME /home/ory
|
|
|
|
# Declare the standard ports used by keto (4433 for read service endpoint, 4434 for write service endpoint)
|
|
EXPOSE 4433 4434
|
|
|
|
USER ory
|
|
|
|
ENTRYPOINT ["keto"]
|
|
CMD ["serve"]
|