mirror of
https://github.com/zoffline/zwift-offline.git
synced 2026-01-07 02:04:21 -08:00
Seems to already have requests, but make it explicit. Module not used except for more advanced usage of zoffline.
17 lines
528 B
Docker
17 lines
528 B
Docker
FROM python:3-alpine
|
|
MAINTAINER zoffline <zoffline@tutanota.com>
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
RUN apk add --no-cache git gcc g++ musl-dev libffi-dev openssl-dev file make
|
|
RUN pip install flask flask_sqlalchemy flask-login pyjwt gevent protobuf protobuf3_to_dict stravalib garmin-uploader cryptography requests
|
|
|
|
RUN git clone --depth 1 https://github.com/zoffline/zwift-offline
|
|
RUN chmod 777 zwift-offline/storage
|
|
|
|
EXPOSE 443 80 3022/udp 3023
|
|
|
|
VOLUME /usr/src/app/zwift-offline/storage
|
|
|
|
CMD [ "python", "zwift-offline/standalone.py" ]
|