• Joined on 2025-10-31

rideshare (2026-07-09)

Published 2026-07-10 00:13:17 +02:00 by pontus

Installation

docker pull git.kattla.se/pontus/rideshare:2026-07-09
sha256:004705a9e3eed8b6b6c1466cc9ed8ff2e85d851c1c11e87405301eac9bddc115

Image Layers

ADD alpine-minirootfs-3.24.1-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ENV TZ=Europe/Stockholm
ENV DB_PATH=/app/db/rs.db
ENV LOG_DIR=/app/logs
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
COPY VERSION /VERSION # 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
Container
2026-07-10 00:13:17 +02:00
3
OCI / Docker
linux/amd64
80 MiB
Versions (5) View all
alpine 2026-09-03
2026-09-03 2026-09-03
2026-09-02 2026-09-02
2026-07-09 2026-07-10
2026-07-01 2026-07-01