demo for metax c500
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM git.modelhub.org.cn:9443/enginex-metax/maca-c500-pytorch:2.33.0.6-torch2.6-py310-ubuntu24.04-amd64
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
ENV PATH=/opt/conda/bin:${PATH}
|
||||
COPY requirements.txt /workspace
|
||||
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
||||
ADD . /workspace
|
||||
|
||||
EXPOSE 80
|
||||
CMD ["sh", "-c", "python3 fastapi_translate.py"]
|
||||
|
||||
Reference in New Issue
Block a user