Skip to content

Commit

Permalink
[docker] update to v0.3.0-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
ifTNT committed May 7, 2024
1 parent 0c8b34c commit b0d5f3e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/.venv
**/venv
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ssl/
screenlog.0
__pycache__
tmp/
.venv

# Transformers
generation_config.json
Expand Down
7 changes: 4 additions & 3 deletions docker/kernel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ FROM python:3.10-alpine

WORKDIR /usr/src/app

COPY src/kernel/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# COPY src/kernel/requirements.txt ./
# RUN pip install --no-cache-dir -r requirements.txt

COPY src/kernel/. .
RUN pip install --no-cache-dir -r requirements.txt

CMD [ "python", "./main.py" ]
CMD [ "kuwa-kernel" ]
2 changes: 1 addition & 1 deletion docker/multi-chat/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ WORKDIR /usr/local/bin
RUN chmod +x docker-entrypoint multi-chat

# Setup the entry point
ENV KUWA_MULTI_CHAT_VERSION="0.1.0-docker2"
ENV KUWA_MULTI_CHAT_VERSION="0.3.0-beta1-docker1"

ENV KUWA_KERNEL_URL="http://kernel:9000"
ENV APP_URL="http://localhost/"
Expand Down

0 comments on commit b0d5f3e

Please sign in to comment.