Files
zwift-offline/Dockerfile
zoffline 5d7a67b03e Add new required dep for Docker container
gevent needs g++ now to build
2021-01-26 17:54:04 -05:00

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