Use slim Docker image and install git and curl dependencies

This commit is contained in:
mrT23 2025-05-02 09:13:21 +03:00
parent ed5b8e7828
commit 8edacf08bb
No known key found for this signature in database
GPG key ID: D350490E39D5F5AD

View file

@ -1,4 +1,6 @@
FROM python:3.12.3 AS base FROM python:3.12.10-slim AS base
RUN apt update && apt install --no-install-recommends -y git curl && rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app
ADD pyproject.toml . ADD pyproject.toml .