pelias / polylines

Pelias import pipeline for polyline (road network) data.
MIT License
17 stars 24 forks source link

Support read-only root fs when running in Docker containers #197

Closed orangejulius closed 5 years ago

orangejulius commented 5 years ago

By using a dedicated start script instead of npm start when running Docker images, we can avoid issues with passing signals through to the underlying processes.

This also avoids issues with npm requiring write permissions to the root filesystem.

This PR also changes the Dockerfile to ensure repeated local Docker builds are speed up by avoiding extra runs of npm install when not needed.

Connects https://github.com/pelias/pelias/issues/745