optimized events
This commit is contained in:
@@ -1,13 +1,30 @@
|
||||
FROM python:3.12-slim
|
||||
FROM node:22-bookworm-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install --yes --no-install-recommends ca-certificates curl coreutils libexpat1 \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& python3 -m pip install --no-cache-dir "osmium==4.3.1"
|
||||
&& 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"]
|
||||
|
||||
Reference in New Issue
Block a user