16 lines
321 B
Docker
16 lines
321 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 CALDAV_URL=""
|
|
ENV PASSWORD=""
|
|
ENV RA_API=""
|
|
ENV RA_USER=""
|
|
ENV CALENDAR_NAME=""
|
|
|
|
CMD python3 ./app.py "${CALDAV_URL}" "${CALENDAR_NAME}" "${USERNAME}" "${PASSWORD}" "${RA_API}" "${RA_USER}"
|