should work
parent
51b25470d3
commit
2d16d42e53
14
Dockerfile
14
Dockerfile
|
@ -6,12 +6,12 @@ COPY requirements.txt .
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
ENV CALDAV_URL
|
ENV CALDAV_URL $CALDAV_URL
|
||||||
ENV CALENDAR_NAME
|
ENV CALENDAR_NAME $CALENDAR_NAME
|
||||||
ENV USERNAME
|
ENV USERNAME $USERNAME
|
||||||
ENV PASSWORD
|
ENV PASSWORD $PASSWORD
|
||||||
ENV RA_API
|
ENV RA_API $RA_API
|
||||||
ENV RA_USER
|
ENV RA_USER $RA_USER
|
||||||
|
|
||||||
ENTRYPOINT ["sh", "-c"]
|
ENTRYPOINT ["sh", "-c"]
|
||||||
CMD python3 ./app.py "${CALDAV_URL}" "${CALENDAR_NAME}" "${USERNAME}" "${PASSWORD}" "${RA_API}" "${RA_USER}"
|
CMD python3 ./app.py "$CALDAV_URL" "$CALENDAR_NAME" "$USERNAME" "$PASSWORD" "$RA_API" "$RA_USER"
|
||||||
|
|
Loading…
Reference in New Issue