Change Dockerfile

This commit is contained in:
Moritz Ruth 2023-05-27 14:36:41 +02:00
parent 6375069dae
commit db3f714ecc
Signed by: moritzruth
GPG key ID: C9BBAB79405EE56D

View file

@ -8,4 +8,8 @@ RUN cargo build --release
FROM alpine:latest
COPY --from=builder /volume/target/x86_64-unknown-linux-musl/release/hass-wol /app/hass-wol
VOLUME /data
CMD ["/app/hass-wol", "/config.toml", "/data"]
CMD ["/app/hass-wol", "/config.toml", "/data"]
# Should probably change to this
# ENTRYPOINT ["/app/hass-wol"]
# CMD ["/config.toml", "/data"]