Spaces:
Sleeping
Sleeping
Prasham.Jain commited on
Commit ·
54e5bb5
1
Parent(s): f81c2bd
fix(docker): COPY README.md into build context (hatchling metadata requires it)
Browse files- Dockerfile +1 -1
- Dockerfile.train +1 -1
Dockerfile
CHANGED
|
@@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 18 |
WORKDIR /app
|
| 19 |
|
| 20 |
# Install Python deps first (cached layer).
|
| 21 |
-
COPY pyproject.toml ./
|
| 22 |
COPY src/ src/
|
| 23 |
RUN pip install --no-cache-dir -e ".[data]"
|
| 24 |
|
|
|
|
| 18 |
WORKDIR /app
|
| 19 |
|
| 20 |
# Install Python deps first (cached layer).
|
| 21 |
+
COPY pyproject.toml README.md ./
|
| 22 |
COPY src/ src/
|
| 23 |
RUN pip install --no-cache-dir -e ".[data]"
|
| 24 |
|
Dockerfile.train
CHANGED
|
@@ -25,7 +25,7 @@ RUN pip install --no-cache-dir \
|
|
| 25 |
"unsloth[cu121-torch240] @ git+https://github.com/unslothai/unsloth.git"
|
| 26 |
|
| 27 |
# 2. Install project + all training deps
|
| 28 |
-
COPY pyproject.toml ./
|
| 29 |
COPY src/ src/
|
| 30 |
RUN pip install --no-cache-dir -e ".[data,training]"
|
| 31 |
|
|
|
|
| 25 |
"unsloth[cu121-torch240] @ git+https://github.com/unslothai/unsloth.git"
|
| 26 |
|
| 27 |
# 2. Install project + all training deps
|
| 28 |
+
COPY pyproject.toml README.md ./
|
| 29 |
COPY src/ src/
|
| 30 |
RUN pip install --no-cache-dir -e ".[data,training]"
|
| 31 |
|