aiMAmmaM commited on
Commit
85676af
·
verified ·
1 Parent(s): c855646

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -7
Dockerfile CHANGED
@@ -1,20 +1,14 @@
1
- FROM python:3.10-slim-buster
2
 
3
- # Set the working directory in the container to /app
4
  WORKDIR /app
5
 
6
- # Install git
7
  RUN apt-get update && apt-get install -y git
8
 
9
- # Clone the repository
10
  RUN git clone https://github.com/Urlo30/KitE .
11
 
12
 
13
- # Install any needed packages specified in requirements.txt
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
16
- # Expose the port, for now default is 8080 cause it's the only one really allowed by HuggingFace
17
  EXPOSE 8960
18
 
19
- # Run run.py when the container launches
20
  CMD ["python", "run.py"]
 
1
+ FROM python:3.11-slim-buster
2
 
 
3
  WORKDIR /app
4
 
 
5
  RUN apt-get update && apt-get install -y git
6
 
 
7
  RUN git clone https://github.com/Urlo30/KitE .
8
 
9
 
 
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
 
12
  EXPOSE 8960
13
 
 
14
  CMD ["python", "run.py"]