DOCKER :3
This commit is contained in:
1 parent
b92557b176
commit
ec2bbf406c
3 files changed
+29
No files matched your search
+12
@@ -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"]
|
||||
@@ -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:
|
||||
@@ -0,0 +1,4 @@
|
||||
discord.py
|
||||
aiosqlite
|
||||
geopy
|
||||
python-dotenv
|
||||
Reference in new issue
Block a user