File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,17 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
99# Install dependencies
1010RUN apt-get update && apt-get install -y gcc curl && rm -rf /var/lib/apt/lists/*
1111
12- # Copy and install requirements
13- COPY requirements.txt ttsfm-web/requirements.txt ./
14- RUN pip install --no-cache-dir -r requirements.txt
15-
16- # Copy source code
12+ # Copy source code first
1713COPY ttsfm/ ./ttsfm/
1814COPY ttsfm-web/ ./ttsfm-web/
1915COPY pyproject.toml ./
16+ COPY requirements.txt ./
17+
18+ # Install the TTSFM package with web dependencies
19+ RUN pip install --no-cache-dir -e .[web]
2020
21- # Install package
22- RUN pip install -e .
21+ # Install additional web dependencies
22+ RUN pip install --no-cache-dir python-dotenv>=1.0.0
2323
2424# Create non-root user
2525RUN useradd --create-home ttsfm && chown -R ttsfm:ttsfm /app
You can’t perform that action at this time.
0 commit comments