From 3343818ae08dec9e2b8c1158a72d1982dc516254 Mon Sep 17 00:00:00 2001 From: james ryan Date: Thu, 30 May 2024 15:58:13 -0400 Subject: [PATCH] added brief dockerfile plus instructions --- Dockerfile | 6 ++++++ README.md | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 Dockerfile 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: