Yehor commited on
Commit
eea2307
·
verified ·
1 Parent(s): 358b39b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -45,17 +45,19 @@ ENV HOME=/home/hf-space \
45
 
46
  COPY --chown=1001 . ${HOME}/app
47
 
48
- ENV UV_PYTHON_INSTALL_DIR=${HOME}/app/uv-pythons
49
-
50
  WORKDIR ${HOME}/app
51
 
 
 
52
  RUN wget -qO- https://astral.sh/uv/install.sh | sh
53
 
 
 
54
  RUN uv venv --python 3.13.2
55
 
56
  RUN uv pip install --no-cache-dir -r /home/hf-space/app/requirements.txt
57
 
58
- RUN chown -R 1001:1001 ${HOME}/app
59
 
60
  RUN ls -lha /home/hf-space/app/
61
 
 
45
 
46
  COPY --chown=1001 . ${HOME}/app
47
 
 
 
48
  WORKDIR ${HOME}/app
49
 
50
+ ENV UV_PYTHON_INSTALL_DIR=${HOME}/app/uv-pythons
51
+
52
  RUN wget -qO- https://astral.sh/uv/install.sh | sh
53
 
54
+ RUN which uv
55
+
56
  RUN uv venv --python 3.13.2
57
 
58
  RUN uv pip install --no-cache-dir -r /home/hf-space/app/requirements.txt
59
 
60
+ RUN chown -R hf-space:hf-space ${HOME}/app
61
 
62
  RUN ls -lha /home/hf-space/app/
63