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

feat: set PATH and delete cache in Dockerfile

This commit is contained in:
Étienne Fildadut 2025-10-11 22:58:35 +02:00
parent 972d6e8441
commit 66e2a486a4

View file

@ -1,9 +1,13 @@
FROM ghcr.io/astral-sh/uv:alpine3.22 FROM ghcr.io/astral-sh/uv:alpine3.22
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
ENV UV_COMPILE_BYTECODE=1
COPY . /feather
WORKDIR /feather WORKDIR /feather
RUN uv sync --locked COPY . /feather
RUN uv sync --locked --no-dev && \
uv cache clean
ENV PATH="/feather/.venv/bin:$PATH"
ENTRYPOINT [ "feather" ]
ENTRYPOINT [ "uv", "run", "feather" ]