refactor: restore root layout and split mysql config

This commit is contained in:
2026-03-19 17:34:45 +08:00
parent 74e50a2b30
commit 1b420cd492
28 changed files with 172 additions and 268 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends git ca-certificates default-mysql-client \
&& rm -rf /var/lib/apt/lists/*
COPY . /app
EXPOSE 8123
CMD ["sh", "tools/container_start.sh"]