thanhkt commited on
Commit
dbd0a68
·
verified ·
1 Parent(s): c904741

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -4
Dockerfile CHANGED
@@ -66,17 +66,20 @@ RUN mkdir -p models && cd models \
66
  "https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files/voices.bin" \
67
  && ls -la /app/models/
68
 
69
- # Copy application files (order matters for caching)
70
  COPY . .
71
 
 
 
 
72
  # Create output directory
73
  RUN mkdir -p output tmp
74
 
75
  # Add HF Spaces specific metadata
76
- LABEL space.title="Your App Title" \
77
  space.sdk="docker" \
78
- space.author="your-username" \
79
- space.description="Your app description"
80
 
81
  # Expose the port that HF Spaces expects
82
  EXPOSE 7860
 
66
  "https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files/voices.bin" \
67
  && ls -la /app/models/
68
 
69
+ # Copy all project files and folders
70
  COPY . .
71
 
72
+ # Ensure all files are writable (fix PermissionError for log file)
73
+ RUN chmod -R a+w /app
74
+
75
  # Create output directory
76
  RUN mkdir -p output tmp
77
 
78
  # Add HF Spaces specific metadata
79
+ LABEL space.title="Text 2 Mnaim" \
80
  space.sdk="docker" \
81
+ space.author="khanhthanhdev" \
82
+ space.description="Text to science video using multi Agent"
83
 
84
  # Expose the port that HF Spaces expects
85
  EXPOSE 7860