Merge pull request #44 from sendevia/v2
Some checks failed
/ Build Windows (push) Has been cancelled

feat: add Dockerfile
This commit is contained in:
世界观察日志
2025-08-08 16:17:23 +08:00
committed by GitHub

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:3.12
RUN apt-get update && \
apt-get install -y bash curl && \
rm -rf /var/lib/apt/lists/*
RUN curl -sSL https://install.python-poetry.org | python3 -
WORKDIR /app
COPY . /app
ENV PATH="/root/.local/bin:$PATH"
RUN bash ./tools/install-deps.sh && \
poetry install
CMD ["poetry", "run", "python", "main.py"]