From 0132ce20019267257ecf0fc16ad1798235d65bfd Mon Sep 17 00:00:00 2001 From: Guiorgy Date: Mon, 1 Dec 2025 10:47:22 +0400 Subject: [PATCH] fixed .git copy destination inside Dockerfile --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3d10c2dee..3410adc94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,10 @@ RUN apk add --no-cache \ yarn \ zlib-dev -COPY .git .git +COPY .git /pgadmin4/.git +# Create the /pgadmin4 directory and copy the source into it. Explicitly +# remove the node_modules directory as we'll recreate a clean version, as well +# as various other files we don't want COPY web /pgadmin4/web WORKDIR /pgadmin4/web