From 4d3aa54f80f4ac3bdf927e3746478cec3bcb35e9 Mon Sep 17 00:00:00 2001 From: l3wdfut4pwr Date: Sat, 14 Mar 2026 13:31:28 +0200 Subject: Initial commit --- Dockerfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7a7ce19 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +FROM python:3.14.4-slim + +RUN apt-get update && apt-get install -y \ + curl \ + build-essential \ + && rm -rf /var/lib/apt/lists/* + +ENV POETRY_VERSION=1.8.3 +RUN curl -sSL https://install.python-poetry.org | python3 - + +ENV PATH="/root/.local/bin:$PATH" + +WORKDIR /artberry_backend + +COPY pyproject.toml poetry.lock* /artberry_backend/ + +RUN poetry install --no-root --only main + +COPY . /artberry_backend + +RUN chmod +x /artberry_backend/start.sh + +EXPOSE 8000 + +CMD ["/artberry_backend/start.sh"] -- cgit v1.3-3-g829e