Files
zwift-offline/Dockerfile
zoffline 5ce8f99e6f Add dep to Docker container
Seems to already have requests, but make it explicit.
Module not used except for more advanced usage of zoffline.
2021-01-27 11:35:14 -05:00

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" ]