This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
TZ=Europe/Amsterdam \
|
||||
PLEX_SERIES_PREFIX=/mnt/Series \
|
||||
PLEX_MOVIES_PREFIX=/mnt/Movies \
|
||||
CRON_SCHEDULE="0 */6 * * *" \
|
||||
RUN_ON_START=true \
|
||||
DRY_RUN=false
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends tzdata ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY sync.py entrypoint.py ./
|
||||
|
||||
ENTRYPOINT ["python", "entrypoint.py"]
|
||||
Reference in New Issue
Block a user