From 735cbb7428795d8cca2da06824a8d4ae731a8460 Mon Sep 17 00:00:00 2001 From: minish Date: Wed, 21 Feb 2024 21:37:37 -0500 Subject: [PATCH] remove some directives rationale: * EXPOSE 8000: it could be any port * USER runner (&etc): you're not always gonna be running as uid 1000 (and you can specify with --user) --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1675404..296cdd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,4 @@ RUN apt-get update && rm -rf /var/lib/apt/lists/* COPY --from=builder /usr/local/cargo/bin/breeze /usr/local/bin/breeze -RUN useradd -m runner -USER runner - -EXPOSE 8000 CMD [ "breeze", "--config", "/etc/breeze.toml" ]