From af610ab49194f12783fdfb2cc676c4877b22ed7c Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Thu, 23 Feb 2023 22:24:05 -0800 Subject: deploy: add Dockerfile and docker-compose.yaml --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 2d13273..6e97ed6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,10 @@ -FROM python:3 +FROM python:3.10 + +WORKDIR /usr/src/app + +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt + +COPY . . + +CMD [ "python", "./bot.py" ] -- cgit v1.2.3