initial commit

This commit is contained in:
behruz-dev
2025-11-21 16:05:30 +05:00
commit cb0cdfde26
17 changed files with 569 additions and 0 deletions

4
docker/Dockerfile.nginx Normal file
View File

@@ -0,0 +1,4 @@
FROM nginx:alpine
COPY ./resources/layout/nginx.conf /etc/nginx/nginx.conf

26
docker/Dockerfile.web Normal file
View File

@@ -0,0 +1,26 @@
FROM python:3.12
WORKDIR /code
RUN apt-get update && \
apt-get install -y \
gdal-bin \
libgdal-dev \
python3-gdal \
libgeos-dev \
libproj-dev \
g++ \
make \
wget \
libfontconfig \
libxrender1 \
libjpeg-dev \
xfonts-base && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY ./ /code
RUN --mount=type=cache,target=/root/.cache/pip python3 -m pip install -r requirements.txt
CMD ["sh", "./resources/scripts/entrypoint.sh"]