Skip to content

Commit

Permalink
Merge pull request #2409 from Nidelon/FixDocker
Browse files Browse the repository at this point in the history
Fixing Docker files
  • Loading branch information
shamhi authored Sep 18, 2024
2 parents 36c4de7 + c9495e7 commit 5bbc715
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 . .
6 changes: 1 addition & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
bot:
container_name: 'HamsterKombatBot'
Expand All @@ -11,8 +10,5 @@ services:
- main.py
- -a
- '2'
volumes:
- ./sessions:/app/sessions
- ./profiles.json:/app/profiles.json
env_file:
- .env
- .env

0 comments on commit 5bbc715

Please sign in to comment.