mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Update Dockerfile to copy common files and UI source code
The Dockerfile has been modified to copy the necessary common files and UI source code into the Docker container. This change ensures that all required files are included in the container, allowing for proper execution of the UI.
This commit is contained in:
parent
63f45756d4
commit
af30c18e5b
1 changed files with 10 additions and 11 deletions
|
|
@ -24,17 +24,6 @@ RUN export MAKEFLAGS="-j$(nproc)" && \
|
|||
# Install node and npm to build vite frontend
|
||||
RUN apk add --no-cache nodejs npm
|
||||
|
||||
# Copy files
|
||||
# can't exclude specific files/dir from . so we are copying everything by hand
|
||||
COPY src/common/api api
|
||||
COPY src/common/db db
|
||||
COPY src/common/core core
|
||||
COPY src/common/gen gen
|
||||
COPY src/common/settings.json settings.json
|
||||
COPY src/common/utils utils
|
||||
COPY src/common/helpers helpers
|
||||
COPY src/VERSION VERSION
|
||||
|
||||
COPY src/ui/builder ui/builder
|
||||
COPY src/ui/client ui/client
|
||||
|
||||
|
|
@ -47,6 +36,16 @@ RUN rm -rf /usr/share/bunkerweb/ui/client
|
|||
|
||||
WORKDIR /usr/share/bunkerweb
|
||||
|
||||
# Copy files
|
||||
# can't exclude specific files/dir from . so we are copying everything by hand
|
||||
COPY src/common/api api
|
||||
COPY src/common/db db
|
||||
COPY src/common/core core
|
||||
COPY src/common/gen gen
|
||||
COPY src/common/settings.json settings.json
|
||||
COPY src/common/utils utils
|
||||
COPY src/common/helpers helpers
|
||||
COPY src/VERSION VERSION
|
||||
COPY src/ui/src ui/src
|
||||
COPY src/ui/*.py ui/
|
||||
COPY --chmod=750 src/ui/entrypoint.sh ui/
|
||||
|
|
|
|||
Loading…
Reference in a new issue