chansung commited on
Commit
21da244
·
1 Parent(s): eb6c8ae

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -3,15 +3,16 @@
3
 
4
  FROM python:3.9
5
 
6
- RUN git clone https://github.com/deep-diver/LLM-As-Chatbot.git
7
 
8
- WORKDIR /LLM-As-Chatbot
9
 
10
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
 
12
  ENV LLMCHAT_APP_MODE=DISCORD
13
  ENV DISCORD_BOT_MODEL_NAME=alpaca-lora-7b
14
  ENV DISCORD_BOT_MAX_WORKERS=1
15
  ENV DISCORD_BOT_LOAD_MODE=CPU
16
 
17
- CMD ["python", "entry_point.py"]
 
3
 
4
  FROM python:3.9
5
 
6
+ WORKDIR /code
7
 
8
+ RUN git clone https://github.com/deep-diver/LLM-As-Chatbot.git
9
 
10
+ RUN cd LLM-As-Chatbot && pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
+ ENV HF_HOME=./
13
  ENV LLMCHAT_APP_MODE=DISCORD
14
  ENV DISCORD_BOT_MODEL_NAME=alpaca-lora-7b
15
  ENV DISCORD_BOT_MAX_WORKERS=1
16
  ENV DISCORD_BOT_LOAD_MODE=CPU
17
 
18
+ CMD ["cd", "LLM-As-Chatbot", "&&", "python", "entry_point.py"]