Skip to content

Commit

Permalink
Use Docker entrypoint instead of CMD.
Browse files Browse the repository at this point in the history
Enables using spicedb from docker directly. docker run quay.io/authzed/spicedb serve --grpc-preshared-key "somerandomkeyhere" --grpc-no-tls

Signed-off-by: mat <mat@macs-Air.lan>
Signed-off-by: terror <miguel.terron@gmail.com>
  • Loading branch information
mterron authored and terror committed Oct 10, 2021
1 parent 3740c6c commit fd1cfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ FROM alpine:3.14.2
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
COPY --from=build /go/bin/grpc_health_probe /usr/local/bin/
COPY --from=build /go/src/app/spicedb /usr/local/bin/spicedb
CMD ["spicedb"]
ENTRYPOINT ["spicedb"]

0 comments on commit fd1cfe0

Please sign in to comment.