Zasha1 commited on
Commit
88f4f20
·
verified ·
1 Parent(s): 9638cca

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -10,6 +10,7 @@ RUN apt-get update && apt-get install -y \
10
  gcc \
11
  g++ \
12
  python3-dev \
 
13
  && apt-get clean
14
 
15
  # Set the working directory inside the container
@@ -19,10 +20,10 @@ WORKDIR /app
19
  COPY . /app
20
 
21
  # Install Python dependencies
22
- RUN pip install --no-cache-dir -r requirements.txt
23
 
24
  # Expose the Streamlit default port
25
  EXPOSE 8501
26
 
27
  # Run the Streamlit app
28
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
10
  gcc \
11
  g++ \
12
  python3-dev \
13
+ python3-pip \
14
  && apt-get clean
15
 
16
  # Set the working directory inside the container
 
20
  COPY . /app
21
 
22
  # Install Python dependencies
23
+ RUN pip install --no-cache-dir sounddevice
24
 
25
  # Expose the Streamlit default port
26
  EXPOSE 8501
27
 
28
  # Run the Streamlit app
29
+ CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]