adding docker and docker compose file to running project, configurate nginx.conf file for DNS
This commit is contained in:
3
docker/Dockerfile.nginx
Normal file
3
docker/Dockerfile.nginx
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY ./resources/layout/nginx.conf /etc/nginx/nginx.conf
|
||||
25
docker/Dockerfile.web
Normal file
25
docker/Dockerfile.web
Normal 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"]
|
||||
Reference in New Issue
Block a user