diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5e33bbc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.8 +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt-get clean && apt-get update -y && apt-get upgrade -y && pip install --upgrade pip + +RUN pip3 install -U onnx flask onnxruntime + +COPY ./static /static +COPY ./templates /templates +COPY ./utils /utils +COPY ./*.py / +RUN chmod +x /app.py + +CMD ["/bin/bash", "-c", "/app.py"] +