[Python] How can I run a python IRC bot alongside inspIRCd without docker-compose?

Discussão em 'Python' iniciado por Stack, Abril 10, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to run an inspIRCd docker image and a python bot along side it. The place where it's going to be used doesn't support docker-compose or docker inside docker. This is my Dockerfile:

    FROM inspircd/inspircd-docker:latest

    WORKDIR /app

    COPY bot/bot.py bot/SECRET.py .

    COPY /inspircd/conf/inspircd.conf /inspircd/conf/inspircd.conf

    USER root
    RUN apk add --no-cache python3

    CMD ["python3", "bot.py"]


    But when I run docker run irc-server I get this error in the docker logs: Error: Unrecognized token: python3

    Continue reading...

Compartilhe esta Página