1
0
Fork 0
mirror of https://codeberg.org/Reuh/feather.git synced 2025-10-27 10:09:32 +00:00

refactor: everything into several files and a valid python package

This commit is contained in:
Étienne Fildadut 2025-10-10 23:55:56 +02:00
parent 58e8a14b93
commit b0e0c5d0df
15 changed files with 646 additions and 1227 deletions

View file

@ -1,10 +1,9 @@
FROM docker.io/alpine:3.22
FROM ghcr.io/astral-sh/uv:alpine3.22
RUN apk add --no-cache python3 py3-requests py3-jinja2 py3-tzdata
ENV PYTHONUNBUFFERED=1
RUN mkdir /feather
COPY . /feather
WORKDIR /feather
RUN uv sync --locked
COPY *.py config.default.toml LICENSE /feather/
ENTRYPOINT [ "python3", "-u", "feather.py" ]
ENTRYPOINT [ "uv", "run", "feather" ]