Spaces:
Sleeping
Sleeping
File size: 438 Bytes
0aa4c4d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM python:3.10-slim-bullseye
ADD https://timeapi.io/api/Time/current/zone?timeZone=Europe/Amsterdam version.json
RUN apt-get update && apt-get install -y git
RUN --mount=type=secret,id=GIT_REPO,mode=0444,required=true git clone $(cat /run/secrets/GIT_REPO) /code
WORKDIR /code
RUN chmod -R 777 /code
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN chmod +x /code/entrypoint.sh
ENTRYPOINT ["/code/entrypoint.sh"] |