SujanMidatani commited on
Commit
3297ad3
·
1 Parent(s): 1125bdc

create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM huggingface/transformers-pytorch-cpu
2
+
3
+ # Install system-level dependencies
4
+ RUN apt-get update && apt-get install -y \
5
+ libasound2-dev \
6
+ portaudio19-dev \
7
+ libportaudio2 \
8
+ libportaudiocpp0 \
9
+ ffmpeg
10
+
11
+ # Copy your app code to the container
12
+ COPY . /app
13
+ WORKDIR /app
14
+
15
+ # Install Python dependencies
16
+ RUN pip install -r requirements.txt
17
+
18
+ # Specify the command to run your app
19
+ CMD ["python", "app.py"]