Commit ·
3cc5bd4
1
Parent(s): 6a9de10
Remove pip install from Dockerfile — let HF handle requirements.txt via pyenv pip
Browse files- Dockerfile +0 -2
Dockerfile
CHANGED
|
@@ -7,8 +7,6 @@ RUN useradd -m -u 1000 user
|
|
| 7 |
WORKDIR /home/user/app
|
| 8 |
|
| 9 |
# Install Python deps — this layer is cached until requirements.txt changes
|
| 10 |
-
COPY requirements.txt .
|
| 11 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
# Pre-clone sam-3d-objects and install as a package (no heavy deps)
|
| 14 |
RUN git clone --depth=1 https://github.com/facebookresearch/sam-3d-objects.git /home/user/app/sam-3d-objects && pip install --no-cache-dir --no-deps -e /home/user/app/sam-3d-objects
|
|
|
|
| 7 |
WORKDIR /home/user/app
|
| 8 |
|
| 9 |
# Install Python deps — this layer is cached until requirements.txt changes
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# Pre-clone sam-3d-objects and install as a package (no heavy deps)
|
| 12 |
RUN git clone --depth=1 https://github.com/facebookresearch/sam-3d-objects.git /home/user/app/sam-3d-objects && pip install --no-cache-dir --no-deps -e /home/user/app/sam-3d-objects
|