k-l-lambda Claude commited on
Commit
786a9ec
·
1 Parent(s): 9350773

Debug: use set +e and explicit exit 0

Browse files

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. Dockerfile +6 -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:30
7
 
8
  # Install build dependencies
9
  RUN apt-get update && apt-get install -y \
@@ -33,15 +33,17 @@ RUN npm install --omit=dev && \
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
 
3
  # Set noninteractive installation
4
  ENV DEBIAN_FRONTEND=noninteractive
5
 
6
+ # Build timestamp to force cache invalidation: 2026-01-12T20:35
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 (force success with exit 0)
37
+ RUN set +e ; \
38
+ echo "=== Directory structure ===" ; \
39
  pwd ; \
40
  ls -la ; \
41
  echo "=== app/ ===" ; ls -la app/ 2>&1 ; \
42
  echo "=== app/dist/ ===" ; ls -la app/dist/ 2>&1 ; \
43
  echo "=== backend/ ===" ; ls -la backend/ 2>&1 ; \
44
  echo "=== backend/dist/ ===" ; ls -la backend/dist/ 2>&1 ; \
45
+ echo "=== Done ===" ; \
46
+ exit 0
47
 
48
  # Set environment variables for Hugging Face Spaces
49
  ENV PORT=7860