mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-09-25 14:20:08 +01:00
install uv globally
This commit is contained in:
+2
-4
@@ -10,15 +10,13 @@ ENV GITHUB_BUILD=${GITHUB_BUILD}\
|
|||||||
PYTHONUNBUFFERED=1 \
|
PYTHONUNBUFFERED=1 \
|
||||||
# prevents python creating .pyc files
|
# prevents python creating .pyc files
|
||||||
PYTHONDONTWRITEBYTECODE=1 \
|
PYTHONDONTWRITEBYTECODE=1 \
|
||||||
UV_LINK_MODE=copy \
|
UV_LINK_MODE=copy
|
||||||
PATH="${HOME}/.local/bin:$PATH"
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt update && apt -y upgrade && apt install -y curl
|
RUN apt update && apt -y upgrade && apt install -y curl
|
||||||
|
|
||||||
ADD https://astral.sh/uv/install.sh install.sh
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||||
RUN sh install.sh && uv --version
|
|
||||||
RUN uvx playwright install-deps firefox && uvx camoufox fetch
|
RUN uvx playwright install-deps firefox && uvx camoufox fetch
|
||||||
|
|
||||||
FROM base AS devcontainer
|
FROM base AS devcontainer
|
||||||
|
|||||||
Reference in New Issue
Block a user