Create Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM ubuntu:22.04
|
2 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
3 |
+
RUN apt-get update && apt-get install -y build-essential && apt-get install -y libopencv-dev && apt-get install -y python3.10 python3-pip
|
4 |
+
#FROM python:3.9
|
5 |
+
WORKDIR /hab
|
6 |
+
COPY ./app .
|
7 |
+
RUN pip3 install -r requirements.txt
|
8 |
+
CMD gunicorn --bind 0.0.0.0:8888 app:app
|