-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak deployment replicas and requests.
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# syntax=docker/dockerfile:1 | ||
# Prepare the base environment. | ||
FROM python:3.11.9-slim as builder_base_mapproxy | ||
MAINTAINER [email protected] | ||
LABEL org.opencontainers.image.source https://github.com/dbca-wa/mapproxy | ||
FROM python:3.11.9-slim AS builder_base_mapproxy | ||
LABEL org.opencontainers.image.authors=[email protected] | ||
LABEL org.opencontainers.image.source=https://github.com/dbca-wa/mapproxy | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get install --no-install-recommends -y libgeos-dev libgdal-dev \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& pip install --upgrade pip | ||
&& pip install --root-user-action=ignore --upgrade pip | ||
|
||
# Install Python libs using Poetry. | ||
FROM builder_base_mapproxy as python_libs_mapproxy | ||
FROM builder_base_mapproxy AS python_libs_mapproxy | ||
WORKDIR /app | ||
ARG POETRY_VERSION=1.8.3 | ||
RUN pip install poetry=="${POETRY_VERSION}" | ||
RUN pip install --root-user-action=ignore poetry=="${POETRY_VERSION}" | ||
COPY poetry.lock pyproject.toml ./ | ||
RUN poetry config virtualenvs.create false \ | ||
&& poetry install --no-interaction --no-ansi --only main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters