Spaces:
Sleeping
Sleeping
Commit
·
4f0cc53
1
Parent(s):
127ba83
Debug: add verbose directory listing during clone
Browse filesCo-Authored-By: Claude <noreply@anthropic.com>
- Dockerfile +10 -4
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@ FROM node:20-slim
|
|
| 3 |
# Set noninteractive installation
|
| 4 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
|
| 6 |
-
# Build timestamp to force cache invalidation: 2026-01-12T21:
|
| 7 |
|
| 8 |
# Install build dependencies including git-lfs
|
| 9 |
RUN apt-get update && apt-get install -y \
|
|
@@ -18,13 +18,19 @@ RUN git lfs install
|
|
| 18 |
# Create app directory
|
| 19 |
WORKDIR /app
|
| 20 |
|
| 21 |
-
# Clone the repo
|
| 22 |
-
# Note: Can't use --depth 1 with LFS files
|
| 23 |
RUN git clone https://huggingface.co/spaces/k-l-lambda/trigo /tmp/repo && \
|
| 24 |
cd /tmp/repo && \
|
| 25 |
git lfs pull && \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
ls -la trigo-web/app/dist/ && \
|
| 27 |
-
|
| 28 |
rm -rf /tmp/repo
|
| 29 |
|
| 30 |
# Install build tools globally (still needed for some scripts)
|
|
|
|
| 3 |
# Set noninteractive installation
|
| 4 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
|
| 6 |
+
# Build timestamp to force cache invalidation: 2026-01-12T21:20
|
| 7 |
|
| 8 |
# Install build dependencies including git-lfs
|
| 9 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 18 |
# Create app directory
|
| 19 |
WORKDIR /app
|
| 20 |
|
| 21 |
+
# Clone the repo directly into temp, pull LFS, then move files
|
|
|
|
| 22 |
RUN git clone https://huggingface.co/spaces/k-l-lambda/trigo /tmp/repo && \
|
| 23 |
cd /tmp/repo && \
|
| 24 |
git lfs pull && \
|
| 25 |
+
echo "=== Contents of repo ===" && \
|
| 26 |
+
ls -la && \
|
| 27 |
+
echo "=== Contents of trigo-web ===" && \
|
| 28 |
+
ls -la trigo-web/ && \
|
| 29 |
+
echo "=== Contents of trigo-web/app ===" && \
|
| 30 |
+
ls -la trigo-web/app/ && \
|
| 31 |
+
echo "=== Contents of trigo-web/app/dist ===" && \
|
| 32 |
ls -la trigo-web/app/dist/ && \
|
| 33 |
+
mv trigo-web/* /app/ && \
|
| 34 |
rm -rf /tmp/repo
|
| 35 |
|
| 36 |
# Install build tools globally (still needed for some scripts)
|