Files
zwift-offline/Dockerfile
oldnapalm 6bdc2e62e1 Revert "Attempt at docker build fix"
This reverts commit ad2f0d2de1.
2021-07-05 20:25:37 -03: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" ]