From 4bed5ca4a5a48ee8d0b387e93f23613233d67c25 Mon Sep 17 00:00:00 2001 From: seaerchin Date: Wed, 31 Jan 2024 15:54:35 +0800 Subject: [PATCH] fix(dockerfile): set git profile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 940385586..2da4bd204 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,10 @@ RUN npm ci RUN rm -rf /var/cache/apk/* RUN git config --system --add safe.directory '*' +RUN echo "[user]" > /root/.gitconfig +RUN echo " name = Isomer Admin" >> /root/.gitconfig +RUN echo " email = admin@isomer.gov.sg" >> /root/.gitconfig + EXPOSE "8081" CMD ["bash", "-c", "chmod +x ./scripts/02_fetch_ssh_keys.sh && bash ./scripts/02_fetch_ssh_keys.sh & npm run start:ecs"]