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:
parent
622dfe8ae0
commit
735cbb7428
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue