Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1.4
FROM debian:stable
MAINTAINER yuchuang

RUN apt-get update && apt-get install -y \
python3 \
python3-pip git

RUN apt-get install -y vim

RUN git clone https://github.com/SnapdragonLee/ChatGPT-weBot.git /opt/ChatGPT-weBot
WORKDIR /opt/ChatGPT-weBot
RUN pip3 install --break-system-packages -r ./requirements.txt

CMD ["/bin/sh", "-c", "python3 main.py"]