From 711477db303c3d48c9b5af1df477ea6d0e8e1add Mon Sep 17 00:00:00 2001 From: sendevia Date: Thu, 7 Aug 2025 23:56:01 +0800 Subject: [PATCH] feat: add Dockerfile --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..85d49a1 --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file