Files changed (1) hide show
  1. Dockerfile +0 -28
Dockerfile DELETED
@@ -1,28 +0,0 @@
1
- FROM python:3.11
2
-
3
- # By using XTTS you agree to CPML license https://coqui.ai/cpml
4
- ENV COQUI_TOS_AGREED=1
5
-
6
- # Set up a new user named "user" with user ID 1000
7
- RUN useradd -m -u 1000 user
8
-
9
- # Switch to the "user" user
10
- USER user
11
-
12
- # Set home to the user's home directory
13
- ENV HOME=/home/user \
14
- PATH=/home/user/.local/bin:$PATH
15
-
16
- # Set the working directory to the user's home directory
17
- WORKDIR $HOME/app
18
-
19
- # Install dependencies
20
- COPY --chown=user:user requirements.txt .
21
- RUN pip install -r requirements.txt
22
- RUN python -m unidic download
23
-
24
- # Install model weights
25
- COPY --chown=user:user . .
26
- RUN python build.py
27
-
28
- CMD ["bash", "-c", "python --version && python app.py"]