mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
build: autobrrctl and push to ghcr (#35)
This commit is contained in:
parent
b8d91b0e7a
commit
d22dd2fe84
2 changed files with 31 additions and 2 deletions
|
@ -26,6 +26,7 @@ ENV GOOS=linux
|
|||
|
||||
#RUN make -f Makefile build/app
|
||||
RUN go build -o bin/${SERVICE} ./cmd/${SERVICE}/main.go
|
||||
RUN go build -o bin/autobrrctl ./cmd/autobrrctl/main.go
|
||||
|
||||
# build runner
|
||||
FROM alpine:latest
|
||||
|
@ -41,6 +42,7 @@ WORKDIR /app
|
|||
VOLUME /config
|
||||
|
||||
COPY --from=app-builder /src/bin/autobrr /usr/local/bin/
|
||||
COPY --from=app-builder /src/bin/autobrrctl /usr/local/bin/
|
||||
|
||||
ENTRYPOINT ["autobrr", "--config", "/config"]
|
||||
#CMD ["--config", "/config"]
|
||||
#CMD ["--config", "/config"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue