Dockerfile: Use ENTRYPOINT for binary and CMD for switches
This commit is contained in:
parent
9575370ea4
commit
a05ad76266
|
@ -7,4 +7,5 @@ WORKDIR /usr/src/udpt
|
||||||
|
|
||||||
RUN cargo build --release ${BUILD_ARGS}
|
RUN cargo build --release ${BUILD_ARGS}
|
||||||
|
|
||||||
CMD ["target/release/udpt-rs", "-c", "/usr/src/udpt/udpt.toml"]
|
ENTRYPOINT [ "target/release/udpt-rs" ]
|
||||||
|
CMD [ "-c", "/usr/src/udpt/udpt.toml" ]
|
||||||
|
|
Loading…
Reference in a new issue