FROM j3ssie/essential-build:latest ARG DEBIAN_FRONTEND=noninteractive SHELL ["/bin/bash", "-c"] ENV PATH "$PATH:/root/osmedeus-base/binaries/" WORKDIR /root/ RUN curl -fsSL https://public-premium-osm.s3.ap-southeast-1.amazonaws.com/2f7f17ae60a47e598d0ac206227afcd7/premium.sh -o /tmp/install.sh RUN chmod +x /tmp/install.sh RUN /tmp/install.sh COPY config.yaml /root/.osmedeus/config.yaml COPY datasources.yaml /root/osmedeus-base/data/amass-config/datasources.yaml EXPOSE 8000 CMD ["/usr/local/bin/osmedeus","server"] ENTRYPOINT ["osmedeus"]