-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
47 lines (40 loc) · 994 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM node:18-alpine3.19
WORKDIR /srv
EXPOSE 7000
# Config vars
ENV INTERVAL=
ENV RESPONSE_TIMEOUT=
ENV PORT=
ENV MIN_SEED=
ENV MAX_RESULTS=
ENV MAX_SIZE=
ENV JACKETT_HOSTS=
ENV JACKETT_APIKEYS=
ENV JACKETT_RTIMEOUT=
ENV JACKETT_OTIMEOUT=
ENV SEARCH_BY_TYPE=
ENV DEBUG=
ENV DOWNLOAD_TORRENT_QUEUE=
ENV ADD_BEST_TRACKERS=
ENV ADD_RUSSIAN_TRACKERS=
ENV ADD_EXTRA_TRACKERS=
ENV PARSE_TORRENT_FILES=
ENV REMOVE_BLACKLIST_TRACKERS=
ENV INDEXER_FILTERS=
ENV ADDON_NAME=
ENV CACHE_INDEXERS_TIME=
ENV CACHE_RESULTS_TIME=
ENV TMDB_APIKEY=
ENV UPDATE_TRACKERS_INTERVAL=
#
ENV NODE_ENV=production
ARG VERSION=testing
LABEL org.opencontainers.image.source=https://github.com/tsaridas/jackett-stremio
LABEL org.opencontainers.image.description="Jackett Local Addon for Stremio"
LABEL org.opencontainers.image.licenses=MIT
LABEL version=${VERSION}
COPY . .
RUN chmod +x start.sh
RUN apk update && apk upgrade && rm -rf /var/cache/apk/*
RUN npm install --no-fund --omit=dev
ENTRYPOINT ["./start.sh"]