DOCKER :3

This commit is contained in:
Soenke committed 2026-07-17 21:10:30 +02:00
1 parent b92557b176
commit ec2bbf406c
3 files changed
+29

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
FROM python:3.13-slim
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "main.py"]
+13
View File
@@ -0,0 +1,13 @@
services:
discord-bot-fembot:
build: .
container_name: discord_bot_fembot
restart: always
env_file:
- .env
volumes:
- .:/bot
- bot_data:/bot/FemBot.db
volumes:
bot_data:
+4
View File
@@ -0,0 +1,4 @@
discord.py
aiosqlite
geopy
python-dotenv