mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
Set entrypoint to yarr executable
This allows passing args as CMD directly without knowing the path to yarr within the container
This commit is contained in:
parent
c896f779b5
commit
96835ebd33
@ -9,4 +9,5 @@ RUN apk add --no-cache ca-certificates && \
|
|||||||
update-ca-certificates
|
update-ca-certificates
|
||||||
COPY --from=build /src/_output/linux/yarr /usr/local/bin/yarr
|
COPY --from=build /src/_output/linux/yarr /usr/local/bin/yarr
|
||||||
EXPOSE 7070
|
EXPOSE 7070
|
||||||
CMD ["/usr/local/bin/yarr", "-addr", "0.0.0.0:7070", "-db", "/data/yarr.db"]
|
ENTRYPOINT ["/usr/local/bin/yarr"]
|
||||||
|
CMD ["-addr", "0.0.0.0:7070", "-db", "/data/yarr.db"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user