From 0c7f524081d96f6f41b20ff8227fa621c2653f8b Mon Sep 17 00:00:00 2001 From: Chris Nutter Date: Fri, 10 Jan 2025 12:05:56 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8fbb16b..fd393cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,11 @@ COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -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 +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 -ENTRYPOINT ["sh", "-c"] -CMD python3 ./app.py "$CALDAV_URL" "$CALENDAR_NAME" "$USERNAME" "$PASSWORD" "$RA_API" "$RA_USER" \ No newline at end of file +CMD ["sh", "-c", "python3 ./app.py \"${CALDAV_URL}\" \"${CALENDAR_NAME}\" \"${USERNAME}\" \"${PASSWORD}\" \"${RA_API}\" \"${RA_USER}\""] \ No newline at end of file