diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a5d0d3b --- /dev/null +++ b/Dockerfile @@ -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"] diff --git a/README.md b/README.md index 6c1124d..831e776 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,13 @@ discord bot for a friend +# deploy stuff +Clone the repo, and in the root run the container: +``` +docker build -t . +docker run --env BOTLER_TOKEN= +``` + # Python stuff Source venv: