Spaces:
Sleeping
Sleeping
Commit ·
9350773
1
Parent(s): ae72628
Debug: add non-failing directory structure check
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-12T20:
|
| 7 |
|
| 8 |
# Install build dependencies
|
| 9 |
RUN apt-get update && apt-get install -y \
|
|
@@ -33,9 +33,15 @@ RUN npm install --omit=dev && \
|
|
| 33 |
# - Backend: backend/dist/backend/src/server.js
|
| 34 |
# - Parser: public/lib/tgnParser.cjs
|
| 35 |
|
| 36 |
-
#
|
| 37 |
-
RUN
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
# Set environment variables for Hugging Face Spaces
|
| 41 |
ENV PORT=7860
|
|
|
|
| 3 |
# Set noninteractive installation
|
| 4 |
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
|
| 6 |
+
# Build timestamp to force cache invalidation: 2026-01-12T20:30
|
| 7 |
|
| 8 |
# Install build dependencies
|
| 9 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 33 |
# - Backend: backend/dist/backend/src/server.js
|
| 34 |
# - Parser: public/lib/tgnParser.cjs
|
| 35 |
|
| 36 |
+
# Debug: Show directory structure (use ; so it doesn't fail the build)
|
| 37 |
+
RUN echo "=== Directory structure ===" ; \
|
| 38 |
+
pwd ; \
|
| 39 |
+
ls -la ; \
|
| 40 |
+
echo "=== app/ ===" ; ls -la app/ 2>&1 ; \
|
| 41 |
+
echo "=== app/dist/ ===" ; ls -la app/dist/ 2>&1 ; \
|
| 42 |
+
echo "=== backend/ ===" ; ls -la backend/ 2>&1 ; \
|
| 43 |
+
echo "=== backend/dist/ ===" ; ls -la backend/dist/ 2>&1 ; \
|
| 44 |
+
echo "=== Done ===" || true
|
| 45 |
|
| 46 |
# Set environment variables for Hugging Face Spaces
|
| 47 |
ENV PORT=7860
|