Spaces:
Running
Running
Jirat Jaturanpinyo
commited on
Update Dockerfile
Browse files- 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", "
|
|
|
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"]
|