Merge pull request #79 from wesleysanjose/main

Fix Dockerfile for No module named 'monkeypatch'
This commit is contained in:
John Smith
2023-04-15 00:53:59 +08:00
committed by GitHub

View File

@@ -63,7 +63,7 @@ RUN cd text-generation-webui-tmp && python download-model.py samwit/alpaca7b-lor
COPY *.py .
COPY text-generation-webui text-generation-webui
COPY monkeypatch .
COPY monkeypatch text-generation-webui/monkeypatch
RUN mv -f text-generation-webui-tmp/* text-generation-webui/
@@ -75,4 +75,4 @@ RUN sed -i 's/llama-13b-4bit/llama-7b-4bit/g' text-generation-webui/custom_monke
# Run the server
WORKDIR /alpaca_lora_4bit/text-generation-webui
CMD ["python", "-u", "server.py", "--listen", "--chat"]
CMD ["python", "-u", "server.py", "--listen", "--chat"]