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

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"]