Delete Dockerfile.txt
Browse files- Dockerfile.txt +0 -27
Dockerfile.txt
DELETED
|
@@ -1,27 +0,0 @@
|
|
| 1 |
-
# Start from an official Python image
|
| 2 |
-
FROM python:3.9-slim
|
| 3 |
-
|
| 4 |
-
# Upgrade pip and install necessary packages
|
| 5 |
-
RUN pip install --upgrade pip scipy
|
| 6 |
-
|
| 7 |
-
# Clone the Tortoise-TTS repository
|
| 8 |
-
RUN git clone https://github.com/neonbjb/tortoise-tts.git
|
| 9 |
-
|
| 10 |
-
# Set the working directory to the cloned repository
|
| 11 |
-
WORKDIR /tortoise-tts
|
| 12 |
-
|
| 13 |
-
# Install the dependencies and setup
|
| 14 |
-
RUN pip install -r requirements.txt && python setup.py install
|
| 15 |
-
|
| 16 |
-
# Go back to the root directory
|
| 17 |
-
WORKDIR /
|
| 18 |
-
|
| 19 |
-
# Copy your application files to the container (adjust paths as needed)
|
| 20 |
-
COPY . /app
|
| 21 |
-
WORKDIR /app
|
| 22 |
-
|
| 23 |
-
# Expose the port for Gradio (or any other web app)
|
| 24 |
-
EXPOSE 7860
|
| 25 |
-
|
| 26 |
-
# Command to run your main application script
|
| 27 |
-
CMD ["python", "your_script.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|