diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..aebef6f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.11-slim + +WORKDIR /app + +RUN apt update +RUN apt install -y +RUN rm -rf /var/lib/apt/lists/* + +COPY requirements.txt ./ +COPY main.py ./ +COPY .env ./ + +RUN pip install -r requirements.txt + +CMD [ "python", "main.py" ] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..c533dd2 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,7 @@ +services: + tgkanboardbot: + build: . + container_name: tgkanboardbot + restart: unless-stopped + env_file: + - .env \ No newline at end of file