leaderboard / Dockerfile
lake-synctv's picture
Upload folder using huggingface_hub
d9e5d90 verified
raw
history blame contribute delete
526 Bytes
FROM alpine:latest
WORKDIR /app
RUN apk --no-cache add ca-certificates wget python3 py3-pip curl jq tar bash
RUN wget https://github.com/synctv-org/synctv/releases/latest/download/synctv-linux-amd64 -O synctv
RUN chmod +x synctv
RUN mkdir -p /app/data
RUN chmod -R 777 /app/data
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install --no-cache-dir huggingface_hub
COPY sync_data.sh /app/
RUN chmod +x /app/sync_data.sh
CMD ["/bin/bash", "-c", "/app/sync_data.sh"]