Files
zwift-offline/Dockerfile
zoffline 7bd70e0f49 Update Dockerfile
cryptography package is moving to rust (while breaking countless docker images in the process...). It's an optional obfuscation dependency for zoffline so just remove it.

Should fix #115
2021-03-03 16:46:46 -05:00

17 lines
515 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 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" ]