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:
onegunsamurai
2023-01-01 17:57:45 +00:00
committed by GitHub
parent ce1317d9f5
commit aa2d426bbc
2 changed files with 12 additions and 4 deletions
+3 -3
View File
@@ -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"]