mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
build: images with goreleaser (#496)
* build: images with goreleaser * build: cleanup workflow
This commit is contained in:
parent
2f3eb8d676
commit
bc335ccf1f
3 changed files with 97 additions and 56 deletions
21
goreleaser.Dockerfile
Normal file
21
goreleaser.Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM alpine:latest
|
||||
|
||||
LABEL org.opencontainers.image.source = "https://github.com/autobrr/autobrr"
|
||||
|
||||
ENV HOME="/config" \
|
||||
XDG_CONFIG_HOME="/config" \
|
||||
XDG_DATA_HOME="/config"
|
||||
|
||||
#RUN ["apk", "--no-cache", "add", "ca-certificates","curl"]
|
||||
|
||||
COPY autobrr /usr/local/bin/autobrr
|
||||
COPY autobrrctl /usr/local/bin/autobrrctl
|
||||
|
||||
WORKDIR /config
|
||||
|
||||
VOLUME /config
|
||||
|
||||
EXPOSE 7474
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/autobrr", "--config", "/config"]
|
||||
#CMD ["--config", "/config"]
|
Loading…
Add table
Add a link
Reference in a new issue