Spaces:
Sleeping
Sleeping
initial commit
Browse files- Dockerfile +18 -0
- app/app.py +0 -0
- app/template/index.html +0 -0
- requirements.txt +0 -0
Dockerfile
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.12-slim
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
RUN apt-get update && apt-get install -y \
|
6 |
+
gcc \
|
7 |
+
portaudio19-dev \
|
8 |
+
&& rm -rf /var/lib/apt/lists/*
|
9 |
+
|
10 |
+
COPY requirements.txt requirements.txt
|
11 |
+
|
12 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
+
|
14 |
+
COPY . .
|
15 |
+
|
16 |
+
EXPOSE 8000
|
17 |
+
|
18 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
app/app.py
ADDED
File without changes
|
app/template/index.html
ADDED
File without changes
|
requirements.txt
ADDED
Binary file (2.65 kB). View file
|
|