mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
Add oasst-shared folder to discord-bot container (#241)
* Add oasst-shared folder to discord-bot container - Container was missing oasst-shared folder, thus was failing, due to missing package error. - Add bash code block to README.MD (Co-authored-by: Vladyslav <v.bukhantsov@dexilon.io>)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM python:3.10-slim-bullseye
|
||||
RUN mkdir /app
|
||||
COPY ./discord-bot/requirements.txt /requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
WORKDIR /app
|
||||
COPY ./discord-bot /app
|
||||
CMD ["python", "bot.py"]
|
||||
COPY ./oasst-shared/oasst_shared /app/oasst_shared
|
||||
RUN pip install -r requirements.txt
|
||||
CMD ["python","-m","bot"]
|
||||
|
||||
Reference in New Issue
Block a user