From d81a1d1671330037a36c961e5e2d38383ddfc96a Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Fri, 16 Dec 2022 17:23:49 -0500 Subject: [PATCH] Add docker files from uploading --- Dockerfile | 9 +++++++++ docker-compose.yml | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..71f5805 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM python + +WORKDIR /usr/src/app + +COPY ./src ./ + +RUN pip install -r requirements.txt + +CMD "python" "./main.py" diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..26b59ad --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: '3' + bot: + image: bot + environment: + - DISCORD_TOKEN=token + - S3_URL=url + - S3_UN=UN + - S3_PW=PW + - S3_TLS=TLS + - S3_BUCKET=BUCKET