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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -3,16 +3,16 @@
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"]
 
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 HF_HOME=/code
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 ["python", "entry_point.py"]