add docker container
parent
f92e5253a4
commit
c5d4d8f28a
@ -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"]
|
||||||
|
|
||||||
Loading…
Reference in New Issue