Compare commits

..

1 Commits

View File

@ -1,4 +1,4 @@
FROM golang:alpine3.18 AS build
FROM golang:alpine AS build
RUN apk add build-base git
WORKDIR /src
COPY . .
@ -9,5 +9,4 @@ RUN apk add --no-cache ca-certificates && \
update-ca-certificates
COPY --from=build /src/_output/linux/yarr /usr/local/bin/yarr
EXPOSE 7070
ENTRYPOINT ["/usr/local/bin/yarr"]
CMD ["-addr", "0.0.0.0:7070", "-db", "/data/yarr.db"]
CMD ["/usr/local/bin/yarr", "-addr", "0.0.0.0:7070", "-db", "/data/yarr.db"]