Block a user
rideshare (2025-12-07)
Published 2025-12-07 17:30:03 +01:00 by pontus
Installation
docker pull git.kattla.se/pontus/rideshare:2025-12-07sha256:b6717e6608d14dc8aa3128d459d2eecd2df8e5df2a7395c4341a0035856d505c
Image Layers
| ADD alpine-minirootfs-3.23.0-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV TZ=Europe/Stockholm |
| WORKDIR /app |
| COPY rideshare/requirements.txt . # buildkit |
| RUN /bin/sh -c apk add --no-cache bash python3 py3-pip sqlite tzdata cronie # buildkit |
| RUN /bin/sh -c python3 -m venv venv # buildkit |
| RUN /bin/sh -c /bin/sh -c "source venv/bin/activate && pip install --no-cache-dir -r requirements.txt" # buildkit |
| COPY rideshare . # buildkit |
| RUN /bin/sh -c chmod +x data/import_price_history.sh # buildkit |
| RUN /bin/sh -c chmod +x /app/db/backup/backup.sh # buildkit |
| RUN /bin/sh -c echo "0 12,14,16,18 * * * /bin/sh /app/db/backup/backup.sh" >> /etc/crontabs/root # buildkit |
| RUN /bin/sh -c echo "0 1 * * * find /app/db/backup -name '*.db' -type f -mtime +14 -exec rm {} \;" >> /etc/crontabs/root # buildkit |
| EXPOSE [8997/tcp] |
| CMD ["sh" "-c" "crond && source venv/bin/activate && python3 /app/manage.py"] |
Details
2025-12-07 17:30:03 +01:00
Versions (4)
View all
Container
1
OCI / Docker
linux/amd64
79 MiB