Template
Create template for discord bots
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
FROM python:3.10.6-slim
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
WORKDIR /home
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
COPY config.py config.py
|
||||
COPY bot.py bot.py
|
||||
|
||||
COPY cogs cogs/
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
CMD ["python3", "-u", "./bot.py"]
|
||||
Reference in New Issue
Block a user