Allow local image build

- Remove dependency on github download
- Add `github/build.sh` for local builds
- Simplify gtaphhopper build
- Simplify handling of `graphhopper.sh` and `config-example.yml`
هذا الالتزام موجود في:
zstadler
2022-11-16 09:04:22 +02:00
الأصل 3e6ab4c288
التزام 8eae33b757
4 ملفات معدلة مع 13 إضافات و18 حذوفات

عرض الملف

@@ -1,10 +1,8 @@
FROM maven:3.6.3-jdk-8 as build
RUN apt-get install -y wget
WORKDIR /graphhopper
COPY . .
COPY graphhopper .
RUN mvn clean install
@@ -16,9 +14,9 @@ RUN mkdir -p /data
WORKDIR /graphhopper
COPY --from=build /graphhopper/web/target/graphhopper*.jar ./
COPY --from=build /graphhopper/web/target/graphhopper*.jar .
COPY ./config-example.yml ./
COPY graphhopper.sh graphhopper/config-example.yml .
COPY ./graphhopper.sh ./