You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
347 B
Docker
16 lines
347 B
Docker
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
|
|
|
|
COPY ./static /static
|
|
COPY ./templates /templates
|
|
COPY ./utils /utils
|
|
COPY ./*.py /
|
|
RUN chmod +x /app.py
|
|
|
|
CMD ["/bin/bash", "-c", "/app.py --host='0.0.0.0' --debug=True"]
|
|
|