From f36cf2504356bf8bbaf82ad87961a2417f553123 Mon Sep 17 00:00:00 2001 From: Fabio Barbero Date: Tue, 25 Feb 2025 16:14:42 +0100 Subject: [PATCH 1/2] Update dockerfile to use latest alpine image Also removes unnecessary app dependency --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 496cc0f2..0e72ab5f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.5 +FROM alpine:3.21 # Enables customized options using environment variables ENV OSRM_BACKEND='http://localhost:5000' @@ -13,7 +13,7 @@ RUN mkdir -p /src COPY package.json /src # Install app dependencies -RUN apk add --no-cache sed nodejs && \ +RUN apk add --no-cache npm && \ cd /src && \ npm install From 9f75aec1b6526dd99161de4cb09e2904bf6bb905 Mon Sep 17 00:00:00 2001 From: Fabio Barbero Date: Sat, 1 Mar 2025 18:44:04 +0100 Subject: [PATCH 2/2] Remove sed from README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a553f3b..8cab9dae 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Then compile assets and start the local server with npm start ``` -On Windows with no Unix tools installed (`bash`, `sed`, `cp`) the server could be started with two other commands +On Windows with no Unix tools installed (`bash` and `cp`) the server could be started with two other commands executed by `npm start` internally: ```bash