ykl45 commited on
Commit
454b790
·
verified ·
1 Parent(s): 7683190

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+
4
+ RUN apt-get update && apt-get install -y git
5
+
6
+ RUN git clone https://github.com/renqabs/Gmn2a.git /app
7
+
8
+ WORKDIR /app
9
+
10
+ # Install dependencies
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+
13
+ # Command to run the application
14
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]