Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
|
@@ -9,9 +9,6 @@ FROM python:3.12-slim
|
|
| 9 |
ENV PYTHONDONTWRITEBYTECODE 1
|
| 10 |
ENV PYTHONUNBUFFERED 1
|
| 11 |
ENV HF_HOME=/app/hf_home/
|
| 12 |
-
ENV UV_CACHE_DIR="/app/uv_cache"
|
| 13 |
-
|
| 14 |
-
RUN mkdir -p /app/uv_cache
|
| 15 |
|
| 16 |
# 3. Install system dependencies (git) and uv (Python package manager)
|
| 17 |
RUN apt-get update && \
|
|
@@ -26,7 +23,11 @@ WORKDIR /app
|
|
| 26 |
|
| 27 |
# 5. Clone the repository
|
| 28 |
# Cloning into the current directory (/app)
|
| 29 |
-
RUN git clone https://github.com/keshan/mcp_hackathon.git
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
# 6. Install Python dependencies using uv
|
| 32 |
# uv sync will read pyproject.toml and install dependencies.
|
|
|
|
| 9 |
ENV PYTHONDONTWRITEBYTECODE 1
|
| 10 |
ENV PYTHONUNBUFFERED 1
|
| 11 |
ENV HF_HOME=/app/hf_home/
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# 3. Install system dependencies (git) and uv (Python package manager)
|
| 14 |
RUN apt-get update && \
|
|
|
|
| 23 |
|
| 24 |
# 5. Clone the repository
|
| 25 |
# Cloning into the current directory (/app)
|
| 26 |
+
RUN git clone https://github.com/keshan/mcp_hackathon.git .
|
| 27 |
+
|
| 28 |
+
ENV UV_CACHE_DIR="/app/uv_cache"
|
| 29 |
+
|
| 30 |
+
RUN mkdir -p /app/uv_cache
|
| 31 |
|
| 32 |
# 6. Install Python dependencies using uv
|
| 33 |
# uv sync will read pyproject.toml and install dependencies.
|