From 2e46b6458bfd750e4b27eb31b9491d674c70018a Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Mon, 14 Apr 2025 19:11:21 +0200 Subject: [PATCH] Add instructions for Containerfile --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c44864a..00662ef 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,12 @@ If you want to start the service automatically, you can adapt the example system You can also use nginx as a reverse proxy, so that the sync server listens on port 443. An example file is provided. +## Container + +To build the application for use with the Containerfile, you first have to add the musl-target: `rustup target add x86_64-unknown-linux-musl` + +Then you can compile kosyncrs for it: `cargo build --release --target=x86_64-unknown-linux-musl` + ### Database setup First, create a new database user and set a password: