THED1 commited on
Commit
33ecd71
·
verified ·
1 Parent(s): 849a893

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ openjdk-17-jdk \
5
+ wget \
6
+ unzip \
7
+ git
8
+
9
+ WORKDIR /app
10
+
11
+ COPY requirements.txt .
12
+
13
+ RUN pip install -r requirements.txt
14
+
15
+ COPY . .
16
+
17
+ CMD ["uvicorn","app:app","--host","0.0.0.0","--port","7860"]