add new apis

This commit is contained in:
behruz-dev
2025-08-14 13:40:34 +05:00
parent 66aab361ef
commit f2226b94c0
7 changed files with 70 additions and 1752 deletions

View File

@@ -1,23 +1,13 @@
FROM python:3.12
FROM python:3.13-alpine
ENV PYTHONPYCACHEPREFIX=/dev/null
RUN apk update && apk add git gettext
WORKDIR /code
RUN apt-get update && \
apt-get install -y \
gdal-bin \
libgdal-dev \
python3-gdal \
libgeos-dev \
libproj-dev \
g++ \
make \
wkhtmltopdf && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY requirements.txt /code/requirements.txt
RUN gdalinfo --version
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
COPY ./ /code
RUN --mount=type=cache,target=/root/.cache/pip python3 -m pip install -r requirements.txt
CMD ["sh", "./resources/scripts/entrypoint.sh"]
CMD ["sh", "./entrypoint.sh"]