From c8b41a6d0c593bf322aae298215617372f406187 Mon Sep 17 00:00:00 2001 From: soryu Date: Thu, 15 Jan 2026 01:12:57 +0000 Subject: Fixup: make makima CLI executable --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 7b298c1..c07e8c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ RUN cargo build --release --package makima --bin makima RUN cp /app/target/release/makima /app/makima # Clean up build artifacts to reduce image size -RUN rm -rf /app/target /app/makima/src /app/vendor /app/tools /usr/local/cargo/registry +RUN rm -rf /app/target /app/vendor /app/tools /usr/local/cargo/registry # Set default environment variables ENV PORT=8080 @@ -45,5 +45,5 @@ EXPOSE 8080 HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ CMD curl -f http://localhost:${PORT}/api/v1/healthcheck || exit 1 - +RUN chmod +x /app/makima CMD ["/app/makima", "server"] -- cgit v1.2.3