deploy prepare

This commit is contained in:
2025-08-08 09:43:34 +09:00
parent f09b90f63e
commit 05bc50269d
14 changed files with 124 additions and 31 deletions

View File

@@ -2,14 +2,7 @@ FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
libmariadb-dev \
libmariadb-dev-compat \
pkg-config \
&& rm -rf /var/lib/apt/lists/*
COPY docker/bot/requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY app /app
COPY . /app