RAJSONToCal/Dockerfile

17 lines
327 B
Docker

FROM python:3.11-slim
WORKDIR /app
COPY app.py .
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
ENV PYTHONUNBUFFERED=1
ENV PYTHONIOENCODING=UTF-8
ENV CALDAV_URL $CALDAV_URL
ENV CALENDAR_NAME $CALENDAR_NAME
ENV USERNAME $USERNAME
ENV PASSWORD $PASSWORD
ENV RA_API $RA_API
ENV RA_USER $RA_USER