QuentinL52 commited on
Commit
ab7beff
·
verified ·
1 Parent(s): 7e6019a

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY ./cv_parser_api/requirements.txt ./requirements.txt
6
+
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ COPY ./cv_parser_api /app
10
+
11
+ EXPOSE 8001
12
+
13
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8001"]