From d5f56f75d7c184e05df34eb203d6fa5258cd6ca0 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 19 Sep 2024 08:30:30 +0200 Subject: [PATCH] listen on ipv6 by default --- Containerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Containerfile b/Containerfile index 6b89984..40e42f9 100644 --- a/Containerfile +++ b/Containerfile @@ -14,6 +14,7 @@ ENV VERSION=af918bdf0dea7f7b6e920680c947fc37b37ffffb RUN git clone https://github.com/GothenburgBitFactory/taskchampion-sync-server.git /work WORKDIR /work RUN git checkout "$VERSION" +RUN sed -i 's/format!("0.0.0.0:{}", port)/"[::]:8080"/g' src/bin/taskchampion-sync-server.rs RUN cargo build --release --target=$(arch)-unknown-linux-musl RUN cp "./target/$(arch)-unknown-linux-musl/release/taskchampion-sync-server" /app