docker/prowlarr/Dockerfile
2024-03-07 17:53:12 +01:00

26 lines
721 B
Docker

FROM docker.io/debian:12-slim as base
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app/
FROM base as build
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
&& rm -rf /var/lib/apt/lists/*
ARG PROWLARR="http://prowlarr.servarr.com/v1/update/develop/updatefile?os=linux&runtime=netcore&arch=x64"
RUN curl -L "$PROWLARR" | tar xz --strip-components=1
FROM base
RUN useradd -m app
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
libicu72 \
sqlite3 \
&& rm -rf /var/lib/apt/lists/*
COPY --from=build /app/ .
VOLUME /config/
EXPOSE 9696
CMD ["./Prowlarr", "-nobrowser", "-data=/config"]