Jirat Jaturanpinyo commited on
Commit
0d487da
·
verified ·
1 Parent(s): 0e15ff8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -15,11 +15,10 @@ USER user
15
  WORKDIR $HOME/app
16
 
17
  # Copy the application code and the requirements.txt file
18
- COPY --chown=user requirements.txt $HOME/app
19
  COPY --chown=user . $HOME/app
20
 
21
  # Install requirements.txt
22
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
23
 
24
  # Start the FastAPI app on port 7860, the default port expected by Spaces
25
- CMD ["python", "run.py", "--voicevox_dir", "../linux-cpu", "--host", "0.0.0.0", "--port", "7860"]
 
15
  WORKDIR $HOME/app
16
 
17
  # Copy the application code and the requirements.txt file
 
18
  COPY --chown=user . $HOME/app
19
 
20
  # Install requirements.txt
21
+ RUN pip install --no-cache-dir --upgrade -r voicevox_engine/requirements.txt
22
 
23
  # Start the FastAPI app on port 7860, the default port expected by Spaces
24
+ CMD ["python", "voicevox_engine/run.py", "--voicevox_dir", "linux-cpu", "--host", "0.0.0.0", "--port", "7860"]