13 lines
428 B
Text
13 lines
428 B
Text
|
FROM alpine
|
||
|
|
||
|
RUN mkdir -p /opt/wp-cal-integration \
|
||
|
&& apk --no-cache add python3 py3-pip
|
||
|
COPY main.py /opt/wp-cal-integration/
|
||
|
COPY adapters /opt/wp-cal-integration/adapters
|
||
|
COPY requirements.txt /opt/wp-cal-integration/
|
||
|
RUN python3 -m pip install -r /opt/wp-cal-integration/requirements.txt
|
||
|
VOLUME /etc/wp-cal-integration/
|
||
|
|
||
|
ENTRYPOINT [ "/opt/wp-cal-integration/main.py" ]
|
||
|
CMD [ "-c", "/etc/wp-cal-integration/config.yaml" ]
|