Skip to content

Commit

Permalink
Fix Dockerfile ENV reference
Browse files Browse the repository at this point in the history
  • Loading branch information
yanorei32 committed Jun 23, 2024
1 parent 87035ec commit 4343b55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ RUN RUSTFLAGS='--cfg reqwest_unstable' CARGO_BUILD_INCREMENTAL=true cargo build

FROM --platform=$TARGETPLATFORM alpine
ARG NAME
ENV NAME ${NAME}
COPY --chown=root:root --from=builder /usr/src/${NAME}/CREDITS /usr/src/${NAME}/LICENSE /usr/share/licenses/${NAME}/
COPY --chown=root:root --from=builder /usr/src/${NAME}/target/release/${NAME} /usr/bin/${NAME}
CMD [ "/usr/bin/${NAME}" ]

0 comments on commit 4343b55

Please sign in to comment.