Asanaly commited on
Commit
f3efb25
·
verified ·
1 Parent(s): fea9861

Rename app to Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +19 -0
  2. app +0 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ # PDF libraries
4
+ RUN apt-get update && apt-get install -y \
5
+ build-essential \
6
+ poppler-utils \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
+ WORKDIR /code
10
+
11
+ # Copy everything
12
+ COPY . .
13
+
14
+ # Install python packages
15
+ RUN pip install --no-cache-dir -r requirements.txt
16
+
17
+ EXPOSE 7860
18
+
19
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
app DELETED
File without changes