MeowSky49887 commited on
Commit
c06f618
verified
1 Parent(s): 52b7f5d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -1,8 +1,9 @@
1
  # Use the official Python 3.11.9 image
2
  FROM python:3.11.9
3
 
4
- # Install jq
5
  RUN apt-get update && apt-get install -y jq
 
6
 
7
  # Set up a new user named "user" with user ID 1000
8
  RUN useradd -m -u 1000 user
@@ -40,5 +41,9 @@ RUN git clone https://github.com/VOICEVOX/voicevox_engine.git voicevox_engine
40
  # Install requirements.txt
41
  RUN pip install --requirement voicevox_engine/requirements.txt
42
 
 
 
 
 
43
  # Start the FastAPI app on port 7860, the default port expected by Spaces
44
  CMD ["python", "voicevox_engine/run.py", "--voicelib_dir", "voicevox_core", "--host", "0.0.0.0", "--port", "7860", "--cors_policy_mode", "all"]
 
1
  # Use the official Python 3.11.9 image
2
  FROM python:3.11.9
3
 
4
+ # Install some dependencies
5
  RUN apt-get update && apt-get install -y jq
6
+ RUN apt-get update && apt-get install -y tree
7
 
8
  # Set up a new user named "user" with user ID 1000
9
  RUN useradd -m -u 1000 user
 
41
  # Install requirements.txt
42
  RUN pip install --requirement voicevox_engine/requirements.txt
43
 
44
+ # List the file structure for debugging
45
+ RUN echo "=== File Structure in /home/user/app ===" && \
46
+ tree -a /home/user/app
47
+
48
  # Start the FastAPI app on port 7860, the default port expected by Spaces
49
  CMD ["python", "voicevox_engine/run.py", "--voicelib_dir", "voicevox_core", "--host", "0.0.0.0", "--port", "7860", "--cors_policy_mode", "all"]