Update Dockerfile
Browse files- Dockerfile +1 -7
Dockerfile
CHANGED
@@ -1,18 +1,12 @@
|
|
1 |
FROM python:3.9-slim
|
2 |
|
3 |
-
# Set working directory
|
4 |
WORKDIR /app
|
5 |
|
6 |
-
# Install dependencies
|
7 |
COPY requirements.txt .
|
8 |
-
RUN apt-get update && apt-get install -y ffmpeg
|
9 |
RUN pip install --no-cache-dir -r requirements.txt
|
10 |
|
11 |
-
# Copy the application
|
12 |
COPY . .
|
13 |
|
14 |
-
# Expose the Flask port
|
15 |
EXPOSE 5000
|
16 |
|
17 |
-
|
18 |
-
CMD ["python", "tts_script.py"]
|
|
|
1 |
FROM python:3.9-slim
|
2 |
|
|
|
3 |
WORKDIR /app
|
4 |
|
|
|
5 |
COPY requirements.txt .
|
|
|
6 |
RUN pip install --no-cache-dir -r requirements.txt
|
7 |
|
|
|
8 |
COPY . .
|
9 |
|
|
|
10 |
EXPOSE 5000
|
11 |
|
12 |
+
CMD ["python", "app.py"]
|
|