Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +22 -0
Dockerfile
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
# Copy requirements and install dependencies
|
6 |
+
COPY requirements.txt .
|
7 |
+
RUN pip install -r requirements.txt
|
8 |
+
|
9 |
+
# Clone and install HumAware-VAD
|
10 |
+
RUN git clone https://github.com/CuriousMonkey7/HumAwareVad.git && \
|
11 |
+
cd HumAwareVad && \
|
12 |
+
pip install -e . && \
|
13 |
+
cd ..
|
14 |
+
|
15 |
+
# Copy your application code
|
16 |
+
COPY . .
|
17 |
+
|
18 |
+
# Set environment variables
|
19 |
+
ENV PYTHONUNBUFFERED=1
|
20 |
+
|
21 |
+
# Run the application
|
22 |
+
CMD ["python", "app.py"]
|