adding docker and docker compose file to running project, configurate nginx.conf file for DNS

This commit is contained in:
behruz-dev
2025-11-16 10:43:32 +05:00
parent 586b0cc321
commit a267e4c45c
10 changed files with 179 additions and 1 deletions

3
docker/Dockerfile.nginx Normal file
View File

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

25
docker/Dockerfile.web Normal file
View File

@@ -0,0 +1,25 @@
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++ \
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"]