lol040604lol commited on
Commit
98b9998
·
verified ·
1 Parent(s): 57360d2

Create Dockerfle

Browse files
Files changed (1) hide show
  1. Dockerfle +16 -0
Dockerfle ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # Install PortAudio library and development files
4
+ RUN apt-get update && apt-get install -y \
5
+ portaudio19-dev \
6
+ libasound-dev \
7
+ libportaudio2 \
8
+ libportaudiocpp0
9
+
10
+ # Copy your app and install dependencies
11
+ COPY . /app
12
+ WORKDIR /app
13
+
14
+ RUN pip install -r requirements.txt
15
+
16
+ CMD ["python", "app.py"]