zero-shot-classification-zh/Dockerfile

14 lines
330 B
Docker
Raw Normal View History

2024-11-05 18:01:25 +00:00
# docker build . --platform linux/amd64 --push -t leafdev.top/ecosystem/zero-shot-classification:v0.0.4
2024-10-24 05:07:11 +00:00
FROM python:3.12.7
#
WORKDIR /app
COPY requirements.txt /app
RUN pip install --no-cache-dir --upgrade -r requirements.txt
#
COPY . /app
#
CMD ["uvicorn", "main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]