mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
refactor: Remove unused UI files and update Dockerfile
The Dockerfile for the Linux environment has been updated to remove the unnecessary copying of UI files, specifically the "static" and "templates" directories. These directories are no longer used in the application and can be safely removed. This change reduces the size of the Docker image and improves build times.
This commit is contained in:
parent
ea1ef434e2
commit
acb8271000
7 changed files with 0 additions and 20 deletions
|
|
@ -56,14 +56,11 @@ COPY src/common/gen gen
|
|||
COPY src/common/helpers helpers
|
||||
COPY src/common/settings.json settings.json
|
||||
COPY src/common/utils utils
|
||||
COPY src/common/templates templates
|
||||
COPY src/scheduler scheduler
|
||||
COPY src/VERSION VERSION
|
||||
|
||||
COPY src/ui/builder ui/builder
|
||||
COPY src/ui/client ui/client
|
||||
COPY src/ui/static ui/static
|
||||
COPY src/ui/templates ui/templates
|
||||
|
||||
# This will build the frontend and add files to the UI folder
|
||||
WORKDIR /usr/share/bunkerweb/ui/client
|
||||
|
|
|
|||
|
|
@ -52,14 +52,11 @@ COPY src/common/gen gen
|
|||
COPY src/common/helpers helpers
|
||||
COPY src/common/settings.json settings.json
|
||||
COPY src/common/utils utils
|
||||
COPY src/common/templates templates
|
||||
COPY src/scheduler scheduler
|
||||
COPY src/VERSION VERSION
|
||||
|
||||
COPY src/ui/builder ui/builder
|
||||
COPY src/ui/client ui/client
|
||||
COPY src/ui/static ui/static
|
||||
COPY src/ui/templates ui/templates
|
||||
|
||||
# This will build the frontend and add files to the UI folder
|
||||
WORKDIR /usr/share/bunkerweb/ui/client
|
||||
|
|
|
|||
|
|
@ -63,14 +63,11 @@ COPY src/common/gen gen
|
|||
COPY src/common/helpers helpers
|
||||
COPY src/common/settings.json settings.json
|
||||
COPY src/common/utils utils
|
||||
COPY src/common/templates templates
|
||||
COPY src/scheduler scheduler
|
||||
COPY src/VERSION VERSION
|
||||
|
||||
COPY src/ui/builder ui/builder
|
||||
COPY src/ui/client ui/client
|
||||
COPY src/ui/static ui/static
|
||||
COPY src/ui/templates ui/templates
|
||||
|
||||
# This will build the frontend and add files to the UI folder
|
||||
WORKDIR /usr/share/bunkerweb/ui/client
|
||||
|
|
|
|||
|
|
@ -66,14 +66,11 @@ COPY src/common/gen gen
|
|||
COPY src/common/helpers helpers
|
||||
COPY src/common/settings.json settings.json
|
||||
COPY src/common/utils utils
|
||||
COPY src/common/templates templates
|
||||
COPY src/scheduler scheduler
|
||||
COPY src/VERSION VERSION
|
||||
|
||||
COPY src/ui/builder ui/builder
|
||||
COPY src/ui/client ui/client
|
||||
COPY src/ui/static ui/static
|
||||
COPY src/ui/templates ui/templates
|
||||
|
||||
# This will build the frontend and add files to the UI folder
|
||||
WORKDIR /usr/share/bunkerweb/ui/client
|
||||
|
|
|
|||
|
|
@ -56,14 +56,11 @@ COPY src/common/gen gen
|
|||
COPY src/common/helpers helpers
|
||||
COPY src/common/settings.json settings.json
|
||||
COPY src/common/utils utils
|
||||
COPY src/common/templates templates
|
||||
COPY src/scheduler scheduler
|
||||
COPY src/VERSION VERSION
|
||||
|
||||
COPY src/ui/builder ui/builder
|
||||
COPY src/ui/client ui/client
|
||||
COPY src/ui/static ui/static
|
||||
COPY src/ui/templates ui/templates
|
||||
|
||||
# This will build the frontend and add files to the UI folder
|
||||
WORKDIR /usr/share/bunkerweb/ui/client
|
||||
|
|
|
|||
|
|
@ -56,14 +56,11 @@ COPY src/common/gen gen
|
|||
COPY src/common/helpers helpers
|
||||
COPY src/common/settings.json settings.json
|
||||
COPY src/common/utils utils
|
||||
COPY src/common/templates templates
|
||||
COPY src/scheduler scheduler
|
||||
COPY src/VERSION VERSION
|
||||
|
||||
COPY src/ui/builder ui/builder
|
||||
COPY src/ui/client ui/client
|
||||
COPY src/ui/static ui/static
|
||||
COPY src/ui/templates ui/templates
|
||||
|
||||
# This will build the frontend and add files to the UI folder
|
||||
WORKDIR /usr/share/bunkerweb/ui/client
|
||||
|
|
|
|||
|
|
@ -37,8 +37,6 @@ COPY src/VERSION VERSION
|
|||
|
||||
COPY src/ui/builder ui/builder
|
||||
COPY src/ui/client ui/client
|
||||
COPY src/ui/static ui/static
|
||||
COPY src/ui/templates ui/templates
|
||||
|
||||
# This will build the frontend and add files to the UI folder
|
||||
WORKDIR /usr/share/bunkerweb/ui/client
|
||||
|
|
|
|||
Loading…
Reference in a new issue