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:
parent
58e8a14b93
commit
b0e0c5d0df
15 changed files with 646 additions and 1227 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -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" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue