Skip to content

Commit 0132ce2

Browse files
authored
fixed .git copy destination inside Dockerfile
1 parent 70e4435 commit 0132ce2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ RUN apk add --no-cache \
3131
yarn \
3232
zlib-dev
3333

34-
COPY .git .git
34+
COPY .git /pgadmin4/.git
35+
# Create the /pgadmin4 directory and copy the source into it. Explicitly
36+
# remove the node_modules directory as we'll recreate a clean version, as well
37+
# as various other files we don't want
3538
COPY web /pgadmin4/web
3639

3740
WORKDIR /pgadmin4/web

0 commit comments

Comments
 (0)