File size: 548 Bytes
18fd555
 
9ce8e84
 
 
 
996c7ed
9ce8e84
dbf794a
996c7ed
9ce8e84
f8520d7
9ce8e84
f8520d7
 
996c7ed
 
9ce8e84
 
38f7450
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Use a stable Jellyfin version (10.11 has a known crash bug)
FROM jellyfin/jellyfin:10.10.7

ENV JELLYFIN_DATA_DIR=/data/data \
    JELLYFIN_CONFIG_DIR=/data/config \
    JELLYFIN_CACHE_DIR=/data/cache \
    JELLYFIN_LOG_DIR=/data/log

RUN apt-get update -qq && apt-get install -y --no-install-recommends nginx curl \
    && rm -rf /var/lib/apt/lists/*

RUN mkdir -p /data/data /data/config /data/cache /data/log /media

COPY nginx.conf /etc/nginx/jellyfin.conf
COPY start.sh /start.sh
RUN chmod +x /start.sh

EXPOSE 7860

ENTRYPOINT ["/start.sh"]