sanpang commited on
Commit
2223ed4
·
1 Parent(s): 4731a0e

set PATH var

Browse files
Files changed (1) hide show
  1. .container/Dockerfile +3 -2
.container/Dockerfile CHANGED
@@ -7,7 +7,8 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
7
  PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple \
8
  PLAYWRIGHT_DOWNLOAD_HOST=https://npmmirror.com/mirrors/playwright \
9
  PLAYWRIGHT_BROWSERS_PATH=/root/.cache/ms-playwright \
10
- DEBIAN_FRONTEND=noninteractive
 
11
 
12
  # 设置工作目录
13
  WORKDIR /app
@@ -23,7 +24,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
23
  RUN uv venv .venv --python=3.10 && \
24
  . .venv/bin/activate && \
25
  uv pip install -e .
26
-
27
  # 复制项目文件
28
  COPY owl/ ./owl/
29
  COPY licenses/ ./licenses/
 
7
  PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple \
8
  PLAYWRIGHT_DOWNLOAD_HOST=https://npmmirror.com/mirrors/playwright \
9
  PLAYWRIGHT_BROWSERS_PATH=/root/.cache/ms-playwright \
10
+ DEBIAN_FRONTEND=noninteractive \
11
+ PATH="/app/.venv/bin:$PATH"
12
 
13
  # 设置工作目录
14
  WORKDIR /app
 
24
  RUN uv venv .venv --python=3.10 && \
25
  . .venv/bin/activate && \
26
  uv pip install -e .
27
+
28
  # 复制项目文件
29
  COPY owl/ ./owl/
30
  COPY licenses/ ./licenses/