feat(image): prepare Python virtual environment with uv and set PATH
This commit is contained in:
1 file changed
+4
@@ -12,6 +12,10 @@ WORKDIR /app
|
||||
# Install uv for Python package management
|
||||
COPY --from=ghcr.io/astral-sh/uv:0.7.21 /uv /uvx /bin/
|
||||
|
||||
# Prepare virtual env
|
||||
RUN uv venv /app/.venv
|
||||
ENV PATH=/app/.venv:$PATH
|
||||
|
||||
COPY ./bin /usr/local/bin
|
||||
COPY ./image/entrypoint.sh /
|
||||
|
||||
|
||||
Reference in new issue
Block a user