Upload Dockerfile
Browse files- 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"]
|