FROM arm64v8/python:3.8-slim-buster | |
WORKDIR /app | |
COPY requirements.txt /app/ | |
RUN apt-get update && apt-get install -y libstdc++6 \ | |
&& pip install --trusted-host pypi.python.org -r requirements.txt \ | |
&& apt-get clean | |
COPY app /app/app/ | |
COPY models /app/models | |
EXPOSE 9696 | |
CMD ["python", "app/app.py"] | |