Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
@@ -52,10 +52,11 @@ RUN wget -qO- https://astral.sh/uv/install.sh | sh
|
|
52 |
WORKDIR ${HOME}/app
|
53 |
|
54 |
RUN uv venv --python 3.13.2
|
55 |
-
RUN uv pip install --no-cache-dir -r /home/hf-space/app/requirements.txt
|
56 |
|
57 |
-
RUN
|
|
|
|
|
58 |
|
59 |
-
RUN
|
60 |
|
61 |
-
CMD ["
|
|
|
52 |
WORKDIR ${HOME}/app
|
53 |
|
54 |
RUN uv venv --python 3.13.2
|
|
|
55 |
|
56 |
+
RUN source .venv/bin/activate
|
57 |
+
|
58 |
+
RUN 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 |
+
CMD ["python", "app.py"]
|