:pencil: [Config] Enable cache in docker, and monitor more files in actions
Browse filesFiles changed (2)
2 unmodified lines3456782 unmodified linespush:paths:- "configs/config.json"workflow_dispatch:jobs:2 unmodified lines3456789102 unmodified linespush:paths:- "configs/config.json"- "./Dockerfile"- ".github/workflows/sync_to_hf_space.yml"workflow_dispatch:jobs:
12345678FROM python:3.11-slimWORKDIR $HOME/appCOPY . .RUN mkdir /.cache && chmod 777 /.cacheRUN pip install -r requirements.txtVOLUME /dataEXPOSE 23333CMD ["python", "-m", "apis.chat_api"]12345678FROM python:3.11-slimWORKDIR $HOME/appCOPY requirements.txt $HOME/appRUN mkdir /.cache && chmod 777 /.cacheRUN pip install -r requirements.txtCOPY . $HOME/appEXPOSE 23333CMD ["python", "-m", "apis.chat_api"]
.github/workflows/sync_to_hf_space.yml+2
Dockerfile+2-2