mirror of
https://github.com/romanz/electrs.git
synced 2025-02-23 14:50:45 +01:00
Avoid including build artifacts in the final docker image
This commit is contained in:
parent
af2038463d
commit
6e537dd299
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,8 @@ RUN apt-get update \
|
|||
RUN groupadd -r user \
|
||||
&& adduser --disabled-login --system --shell /bin/false --uid 1000 --ingroup user user
|
||||
|
||||
COPY --from=builder --chown=user:user /build/target/release .
|
||||
COPY --from=builder --chown=user:user \
|
||||
/build/target/release/electrs .
|
||||
|
||||
USER user
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue