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)
This commit is contained in:
minish 2024-02-21 21:37:37 -05:00
parent 622dfe8ae0
commit 735cbb7428
Signed by: min
GPG Key ID: FEECFF24EF0CE9E9
1 changed files with 0 additions and 4 deletions

View File

@ -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 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" ] CMD [ "breeze", "--config", "/etc/breeze.toml" ]