Change Dockerfile
This commit is contained in:
parent
6375069dae
commit
db3f714ecc
1 changed files with 5 additions and 1 deletions
|
@ -8,4 +8,8 @@ RUN cargo build --release
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
COPY --from=builder /volume/target/x86_64-unknown-linux-musl/release/hass-wol /app/hass-wol
|
COPY --from=builder /volume/target/x86_64-unknown-linux-musl/release/hass-wol /app/hass-wol
|
||||||
VOLUME /data
|
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"]
|
Loading…
Add table
Reference in a new issue