1
0
Fork 0

remove: unused containerfile for Alpine API image

This commit is contained in:
Sean Sube 2023-01-13 21:40:26 -06:00
parent f83499763a
commit f10904719c
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
FROM docker.io/python:3.10-alpine
RUN apk add --update cmake \
&& rm -rf /var/cache/apk/*
WORKDIR /onnx-web
RUN pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
COPY requirements.txt /onnx-web/requirements.txt
RUN pip install -r requirements.txt
COPY onnx_web/ /onnx-web/onnx_web/
ENTRYPOINT [ "flask", "--app=onnx_web.serve", "run", "--host=0.0.0.0" ]