benjolo commited on
Commit
4b91766
1 Parent(s): ac2dcb5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -8
Dockerfile CHANGED
@@ -1,27 +1,27 @@
1
- # Use the official Python 3.10.9 image
2
  FROM python:3.10.4
3
 
4
  # Copy the current directory contents into the container at .
5
  COPY . .
6
 
7
  # Install OS Libs
8
- RUN apt-get update \
9
- && apt-get -y install ffmpeg
10
 
11
  # Change to backend as working directory
12
  WORKDIR backend/
13
 
14
  # Install requirements.txt
15
- RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
16
- RUN pip install git+https://github.com/huggingface/transformers.git
17
- RUN pip install pydantic[email]
18
 
19
  # Make all files and folders readable, writable, executable
20
  RUN chmod -R 777 ./
21
 
22
- RUN python3 run.py
23
 
24
- # RUN echo ~/
25
 
26
  # List all directories including hidden ones
27
  # RUN ls -al
 
1
+ # Use the official Python 3.10.4 image
2
  FROM python:3.10.4
3
 
4
  # Copy the current directory contents into the container at .
5
  COPY . .
6
 
7
  # Install OS Libs
8
+ # RUN apt-get update \
9
+ # && apt-get -y install ffmpeg
10
 
11
  # Change to backend as working directory
12
  WORKDIR backend/
13
 
14
  # Install requirements.txt
15
+ # RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
16
+ # RUN pip install git+https://github.com/huggingface/transformers.git
17
+ # RUN pip install pydantic[email]
18
 
19
  # Make all files and folders readable, writable, executable
20
  RUN chmod -R 777 ./
21
 
22
+ # RUN python3 run.py
23
 
24
+ RUN ls ~/
25
 
26
  # List all directories including hidden ones
27
  # RUN ls -al