added brief dockerfile plus instructions

This commit is contained in:
james ryan 2024-05-30 15:58:13 -04:00
parent bc12ce11b9
commit 3343818ae0
2 changed files with 13 additions and 0 deletions

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM python:3.12
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY src/* .
CMD ["python3", "./main.py"]

View File

@ -2,6 +2,13 @@
discord bot for a friend
# deploy stuff
Clone the repo, and in the root run the container:
```
docker build -t <name> .
docker run --env BOTLER_TOKEN=<token> <name>
```
# Python stuff
Source venv: