2 Commits

Author SHA1 Message Date
darkdragon-001
72fe155e1e Merge 539e86f21f into 5f606b1c40 2024-03-19 23:08:10 -06:00
Dark Dragon
539e86f21f Set entrypoint to yarr executable
This allows passing args as CMD directly without knowing the path to yarr within the container
2023-12-31 17:51:36 +01:00

View File

@@ -9,4 +9,5 @@ RUN apk add --no-cache ca-certificates && \
update-ca-certificates
COPY --from=build /src/_output/linux/yarr /usr/local/bin/yarr
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"]