fixed .git copy destination inside Dockerfile

pull/9405/head^2
Guiorgy 2025-12-01 10:47:22 +04:00 committed by GitHub
parent 70e4435b04
commit 0132ce2001
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -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