From 3f52296395ccdf6c3f634b667e7fcdeb241665b6 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Sat, 5 Jul 2025 14:52:00 -0600 Subject: [PATCH] fix: Add git to all Dockerfiles for npm dependencies that require git repositories --- admin/Dockerfile | 3 +++ client/Dockerfile | 3 +++ server/Dockerfile | 3 +++ 3 files changed, 9 insertions(+) diff --git a/admin/Dockerfile b/admin/Dockerfile index e26cf6e..912ad2d 100644 --- a/admin/Dockerfile +++ b/admin/Dockerfile @@ -1,6 +1,9 @@ # Admin Dockerfile - Vue 3 Admin Dashboard FROM node:20-alpine +# Install git for npm dependencies +RUN apk add --no-cache git + # Set working directory WORKDIR /app diff --git a/client/Dockerfile b/client/Dockerfile index 790d837..5d894dd 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,6 +1,9 @@ # Client Dockerfile - Vue 3 Client UI FROM node:20-alpine +# Install git for npm dependencies +RUN apk add --no-cache git + # Set working directory WORKDIR /app diff --git a/server/Dockerfile b/server/Dockerfile index 74b6072..47f823a 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,6 +1,9 @@ # Server Dockerfile - Colyseus Server FROM node:20-alpine +# Install git for npm dependencies +RUN apk add --no-cache git + # Set working directory WORKDIR /app