From d4be2a0bcfea8683ec92932af55a52452255eb54 Mon Sep 17 00:00:00 2001 From: naiba Date: Thu, 24 Oct 2024 22:50:57 +0800 Subject: [PATCH] fix dist folder --- .github/workflows/release.yml | 1 + Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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