AskRobots-Discord is a scalable, plugin-oriented bot for Discord, offering dynamic interactions including AI-powered text conversations with GPT-3.5-Turbo and GPT-4 integration.
Dockerfile · 434 bytes · 25 lines
| 1 | FROM python:3.9.0-buster |
| 2 | |
| 3 | # Install system dependencies |
| 4 | RUN apt-get update && \ |
| 5 | apt-get install -y build-essential curl git && \ |
| 6 | apt-get clean && \ |
| 7 | rm -rf /var/lib/apt/lists/* |
| 8 | |
| 9 | # Install Rust |
| 10 | RUN curl https://sh.rustup.rs -sSf | sh -s -- -y |
| 11 | |
| 12 | # Add Cargo to PATH |
| 13 | ENV PATH="/root/.cargo/bin:${PATH}" |
| 14 | |
| 15 | WORKDIR /app |
| 16 | |
| 17 | COPY requirements.txt . |
| 18 | |
| 19 | RUN pip install -r requirements.txt |
| 20 | |
| 21 | COPY . . |
| 22 | |
| 23 | EXPOSE 5000 |
| 24 | |
| 25 | CMD ["python", "app.py"] |