From ba8119d4440398815551c036db89220c39ef42c0 Mon Sep 17 00:00:00 2001 From: Nikita Shaydullin <48694850+Nidelon@users.noreply.github.com> Date: Wed, 18 Sep 2024 09:26:41 +0700 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d0b7172c..9145f24b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11.9-slim as builder +FROM python:3.11.9-slim LABEL org.opencontainers.image.source=https://github.com/shamhi/HamsterKombatBot WORKDIR /app @@ -12,3 +12,5 @@ RUN apt-get update && apt-get install -y \ COPY requirements.txt . RUN pip3 install --upgrade pip setuptools wheel && \ pip3 install --no-cache-dir -r requirements.txt + +COPY . . From c9495e7402cca9b68acf3efdb99d82694503d0bf Mon Sep 17 00:00:00 2001 From: Nikita Shaydullin <48694850+Nidelon@users.noreply.github.com> Date: Wed, 18 Sep 2024 09:27:26 +0700 Subject: [PATCH 2/2] Update docker-compose.yml --- docker-compose.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a739c3fe..fc1a4b06 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,3 @@ -version: '3' services: bot: container_name: 'HamsterKombatBot' @@ -11,8 +10,5 @@ services: - main.py - -a - '2' - volumes: - - ./sessions:/app/sessions - - ./profiles.json:/app/profiles.json env_file: - - .env \ No newline at end of file + - .env