Skip to content

Commit 948e320

Browse files
committed
Install git in docker container before installing node dependencies
1 parent 44fdf6b commit 948e320

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.docker/web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN apt-get update -y && \
2323
# Packages for formatting code using Prettier (JS, CSS, PHP, etc)
2424
RUN apt-get update -y && \
2525
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
26-
apt-get install -y nodejs && npm install
26+
apt-get install -y git nodejs && npm install
2727

2828
# Install prettier-daemon
2929
COPY prettierd-server.sh /usr/local/bin/prettierd-server

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN apt-get update -y && \
2929
# Packages for formatting code using Prettier (JS, CSS, PHP, etc)
3030
RUN apt-get update -y && \
3131
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
32-
apt-get install -y nodejs && npm install
32+
apt-get install -y git nodejs && npm install
3333

3434
# Install prettier-daemon
3535
COPY prettierd-server.sh /usr/local/bin/prettierd-server

0 commit comments

Comments
 (0)