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:
parent
972d6e8441
commit
66e2a486a4
1 changed files with 7 additions and 3 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -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" ]
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue