chore: add Dockerfile, docker-compose.yml, .dockerignore

Made-with: Cursor
This commit is contained in:
21in7
2026-03-01 16:07:20 +09:00
parent 3d05806155
commit 60b32a978e
3 changed files with 44 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p logs
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
CMD ["python", "main.py"]