Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Add missing dockerfile

Russ Garrett39dbef7ab521
diff --git a/mapping/Dockerfile b/mapping/Dockerfile
new file mode 100644
index 0000000..32a77ac
--- /dev/null
+++ b/mapping/Dockerfile
@@ -0,0 +1,7 @@
+FROM python:3.11-slim AS build
+# First, build the mapping.json file
+COPY . .
+RUN python main.py > ./mapping.json
+
+FROM ghcr.io/openinframap/imposm3:latest
+COPY --from=build mapping.json /mapping.json