Update Dockerfile
Browse files- Dockerfile +19 -19
Dockerfile
CHANGED
@@ -1,25 +1,25 @@
|
|
1 |
-
FROM python:3.11-slim
|
2 |
|
3 |
-
WORKDIR /app
|
4 |
|
5 |
-
# Install system dependencies
|
6 |
-
RUN apt-get update && apt-get install -y --no-install-recommends \
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
|
14 |
-
# Install Python dependencies
|
15 |
-
COPY requirements.txt .
|
16 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
-
# Copy application code
|
19 |
-
COPY . .
|
20 |
|
21 |
-
# Expose port
|
22 |
-
EXPOSE 7860
|
23 |
|
24 |
-
# Command to run the application
|
25 |
-
CMD ["python", "app.py"]
|
|
|
1 |
+
# FROM python:3.11-slim
|
2 |
|
3 |
+
# WORKDIR /app
|
4 |
|
5 |
+
# # Install system dependencies
|
6 |
+
# RUN apt-get update && apt-get install -y --no-install-recommends \
|
7 |
+
# build-essential \
|
8 |
+
# libportaudio2 \
|
9 |
+
# libsndfile1 \
|
10 |
+
# ffmpeg \
|
11 |
+
# && apt-get clean \
|
12 |
+
# && rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
+
# # Install Python dependencies
|
15 |
+
# COPY requirements.txt .
|
16 |
+
# RUN pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
+
# # Copy application code
|
19 |
+
# COPY . .
|
20 |
|
21 |
+
# # Expose port
|
22 |
+
# EXPOSE 7860
|
23 |
|
24 |
+
# # Command to run the application
|
25 |
+
# CMD ["python", "app.py"]
|