HerzaJ commited on
Commit
c38fece
·
verified ·
1 Parent(s): 786983c

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +24 -0
Dockerfile ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ git \
7
+ ffmpeg \
8
+ swig \
9
+ libpulse-dev \
10
+ portaudio19-dev \
11
+ python3-pyaudio \
12
+ && rm -rf /var/lib/apt/lists/*
13
+
14
+ RUN pip install --no-cache-dir \
15
+ pypasser \
16
+ flask \
17
+ requests \
18
+ pocketsphinx
19
+
20
+ COPY . .
21
+
22
+ EXPOSE 7860
23
+
24
+ CMD ["python", "main.py"]