diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d61032..e10d9ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -136,6 +136,7 @@ jobs: wget https://github.com/nezhahq/nezha-dashboard/releases/download/v0.0.3/dist.zip unzip dist.zip mv dist admin-dist + mkdir user-dist - name: Download artifacts uses: actions/download-artifact@v4 diff --git a/Dockerfile b/Dockerfile index a5503eb..edc2e3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,8 @@ ARG TARGETOS ARG TARGETARCH COPY --from=certs /etc/ssl/certs /etc/ssl/certs -COPY ./frontend /dashboard/frontend +COPY ./admin-dist /dashboard/admin-dist +COPY ./user-dist /dashboard/user-dist COPY ./script/entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh