Spanicin commited on
Commit
0372b73
1 Parent(s): e25b41e

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9.12
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y libgl1-mesa-glx
5
+
6
+ WORKDIR /app
7
+
8
+ COPY . /app
9
+
10
+ RUN bash scripts/download_models.sh
11
+
12
+ RUN pip install -r requirements.txt
13
+
14
+ EXPOSE 80
15
+
16
+ CMD ["gunicorn", "-b", ":80", "app:app"]