sergey.agapov commited on
Commit
639f2ba
1 Parent(s): c1daba0

initial commit

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -5
Dockerfile CHANGED
@@ -1,16 +1,18 @@
1
  FROM python:3.9
2
 
3
- # Install FFmpeg
4
- RUN apt-get update && apt-get install -y ffmpeg
 
5
 
6
  WORKDIR /code
7
 
8
- # Create the directory and set permissions
9
- RUN mkdir -p /tmp/dash/test_stream && chmod 777 /tmp/dash/test_stream
 
10
 
11
  COPY ./requirements.txt /code/requirements.txt
12
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
13
 
14
  COPY . /code
15
 
16
- CMD ["python", "validator.py"]
 
1
  FROM python:3.9
2
 
3
+ # Install FFmpeg and other necessary system dependencies
4
+ RUN apt-get update && apt-get install -y ffmpeg libportaudio2 libportaudiocpp0 portaudio19-dev
5
+
6
 
7
  WORKDIR /code
8
 
9
+ # If you need Git configurations, set them for the repository instead of globally
10
+ RUN git config --local user.email "svabald@users.noreply.huggingface.co"
11
+ RUN git config --local user.name "Sergey Agapov"
12
 
13
  COPY ./requirements.txt /code/requirements.txt
14
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
15
 
16
  COPY . /code
17
 
18
+ CMD ["python", "app.py"]