Commit
·
0487d89
1
Parent(s):
d86d715
Fix flash-attn build by installing packaging early
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -15,6 +15,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 15 |
# Update pip
|
| 16 |
RUN pip install --upgrade pip
|
| 17 |
|
|
|
|
|
|
|
| 18 |
# Copy requirements.txt and install dependencies
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
@@ -33,3 +35,4 @@ EXPOSE 7860
|
|
| 33 |
|
| 34 |
# Run the FastAPI app
|
| 35 |
CMD ["python", "main.py"]
|
|
|
|
|
|
| 15 |
# Update pip
|
| 16 |
RUN pip install --upgrade pip
|
| 17 |
|
| 18 |
+
RUN pip install packaging
|
| 19 |
+
|
| 20 |
# Copy requirements.txt and install dependencies
|
| 21 |
COPY requirements.txt .
|
| 22 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 35 |
|
| 36 |
# Run the FastAPI app
|
| 37 |
CMD ["python", "main.py"]
|
| 38 |
+
|