12 lines
347 B
Docker
12 lines
347 B
Docker
FROM git.modelhub.org.cn:9443/enginex-metax/maca-c500-pytorch:2.33.0.6-torch2.6-py310-ubuntu24.04-amd64
|
|
|
|
WORKDIR /app
|
|
|
|
RUN /opt/conda/bin/pip install transformers==4.46.3 einops addict easydict modelscope uvicorn fastapi
|
|
|
|
COPY app.py .
|
|
|
|
ENTRYPOINT []
|
|
|
|
CMD ["/opt/conda/bin/python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]
|