Skip to content

Commit

Permalink
Update Dockerfile to install git into the container
Browse files Browse the repository at this point in the history
Without this, docker build fails because git is used in package.json at line 41:
"leaflet-routing-machine": "git+https://github.com/sosm/leaflet-routing-machine#b5690a3bc18686fa235e2d9e9d3069f70014a2a7",
  • Loading branch information
halkoma authored Jan 10, 2021
1 parent dc07ddb commit 0ac15f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN mkdir -p /src
COPY package.json /src

# Install app dependencies
RUN apk add --no-cache sed nodejs && \
RUN apk add --no-cache sed nodejs git && \
cd /src && \
npm install

Expand Down

0 comments on commit 0ac15f1

Please sign in to comment.