Files
watermaps/deploy/route-data.Dockerfile
T
BuTzZ 2064570913
Test and publish container images / test (push) Successful in 2m43s
Test and publish container images / publish (push) Successful in 2m56s
Automate immutable production deployments
2026-07-29 13:00:50 +02:00

31 lines
895 B
Docker

FROM node:22-bookworm-slim@sha256:6c74791e557ce11fc957704f6d4fe134a7bc8d6f5ca4403205b2966bd488f6b3
RUN apt-get update \
&& apt-get install --yes --no-install-recommends \
ca-certificates \
coreutils \
curl \
libexpat1 \
osmium-tool \
postgresql-client \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
RUN python3 -m pip install \
--break-system-packages \
--disable-pip-version-check \
--no-cache-dir \
--target /workspace/.tools/python \
"osmium==4.3.1" \
&& npm install --no-package-lock --no-save "pg@8.16.3"
COPY scripts ./scripts
COPY database ./database
COPY deploy/scripts/prepare-route-data.sh ./deploy/scripts/prepare-route-data.sh
COPY deploy/scripts/prepare-marine-features.sh ./deploy/scripts/prepare-marine-features.sh
ENTRYPOINT ["/workspace/deploy/scripts/prepare-route-data.sh"]