Julien Blanchon
commited on
Commit
·
6dddb70
1
Parent(s):
99943dd
Fix runtime gsplat path issue
Browse files- Ensure pyproject.docker.toml is used at runtime by copying it after main files
- This fixes the 'Distribution not found at: file:///home/user/app/gsplat' error
- Runtime will now use the correct wheel-based configuration
- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -57,6 +57,9 @@ RUN --mount=type=cache,target=/tmp/uv-cache,sharing=locked,uid=1000,gid=1000 \
|
|
| 57 |
# Copy the rest of the application
|
| 58 |
COPY --chown=user . .
|
| 59 |
|
|
|
|
|
|
|
|
|
|
| 60 |
# Expose port 7860 (default for HF Spaces)
|
| 61 |
EXPOSE 7860
|
| 62 |
|
|
|
|
| 57 |
# Copy the rest of the application
|
| 58 |
COPY --chown=user . .
|
| 59 |
|
| 60 |
+
# Ensure Docker-specific pyproject.toml is used at runtime
|
| 61 |
+
COPY --chown=user pyproject.docker.toml ./pyproject.toml
|
| 62 |
+
|
| 63 |
# Expose port 7860 (default for HF Spaces)
|
| 64 |
EXPOSE 7860
|
| 65 |
|