Skip to content

Add Dockerfile#104

Open
binarybaron wants to merge 1 commit intocomit-network:masterfrom
binarybaron:docker
Open

Add Dockerfile#104
binarybaron wants to merge 1 commit intocomit-network:masterfrom
binarybaron:docker

Conversation

@binarybaron
Copy link

No description provided.

RUN cargo build --release --package rendezvous-server --bin rendezvous-server


FROM debian:bullseye-slim
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using distroless will likely make for a smaller image: https://github.com/GoogleContainerTools/distroless/blob/main/examples/rust/Dockerfile

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Will try that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants