添加启动脚本和 HF_HOME 环境变量
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
__pycache__
|
__pycache__
|
||||||
/venv
|
/venv
|
||||||
|
/huggingface
|
||||||
|
|||||||
@@ -6,8 +6,10 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY ./requirements_version.txt .
|
COPY ./requirements_version.txt .
|
||||||
|
|
||||||
RUN pip install -r requirements_version.txt --no-cache-dir
|
RUN pip install -r requirements_version.txt --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN python acge_embedding.py
|
||||||
|
|
||||||
CMD ["python", "main.py"]
|
CMD ["python", "main.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user