mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-17 16:34:44 -05:00
Removed the RUN rm -rf layer from the Dockerfile app-builder stage; exclusions are now handled by updating .dockerignore.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
web/node_modules
|
web/node_modules
|
||||||
|
web/config_*.py
|
||||||
web/*.log
|
web/*.log
|
||||||
web/regression
|
web/regression
|
||||||
web/**/tests/
|
web/**/tests/
|
||||||
|
|||||||
@@ -32,16 +32,7 @@ RUN apk add --no-cache \
|
|||||||
zlib-dev
|
zlib-dev
|
||||||
|
|
||||||
COPY .git .git
|
COPY .git .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
|
COPY web /pgadmin4/web
|
||||||
RUN rm -rf /pgadmin4/web/*.log \
|
|
||||||
/pgadmin4/web/config_*.py \
|
|
||||||
/pgadmin4/web/node_modules \
|
|
||||||
/pgadmin4/web/regression \
|
|
||||||
`find /pgadmin4/web -type d -name tests` \
|
|
||||||
`find /pgadmin4/web -type f -name .DS_Store`
|
|
||||||
|
|
||||||
WORKDIR /pgadmin4/web
|
WORKDIR /pgadmin4/web
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user