Yehor commited on
Commit
96fe515
·
verified ·
1 Parent(s): 8fea664

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -45,8 +45,7 @@ ENV HOME=/home/hf-space \
45
 
46
  COPY --chown=1001 . ${HOME}/app
47
 
48
- ENV UV_PYTHON_INSTALL_DIR=${HOME}/app/uv-pythons \
49
- UV_CACHE_DIR=${HOME}/app/uv-cache
50
 
51
  RUN wget -qO- https://astral.sh/uv/install.sh | sh
52
 
@@ -58,4 +57,4 @@ RUN uv pip install --no-cache-dir -r /home/hf-space/app/requirements.txt
58
 
59
  RUN chown -R hf-space:hf-space ${HOME}/app
60
 
61
- CMD ["uv", "run", "--no-config", "app.py"]
 
45
 
46
  COPY --chown=1001 . ${HOME}/app
47
 
48
+ ENV UV_PYTHON_INSTALL_DIR=${HOME}/app/uv-pythons
 
49
 
50
  RUN wget -qO- https://astral.sh/uv/install.sh | sh
51
 
 
57
 
58
  RUN chown -R hf-space:hf-space ${HOME}/app
59
 
60
+ CMD ["uv", "run", "--no-cache", "--no-config", "app.py"]