diff --git a/Dockerfile b/Dockerfile index 912c516..e3cf51d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ FROM node:18-alpine as build-stage WORKDIR front -COPY . . +COPY ./web-src . WORKDIR web-src RUN ls -lh RUN corepack enable RUN corepack prepare pnpm@8.6.10 --activate RUN npm config set registry https://registry.npmmirror.com -RUN pnpm install --frozen-lockfile +RUN pnpm install RUN pnpm build diff --git a/web-src/app/static.go b/web-src/app/static.go deleted file mode 100644 index 3b49155..0000000 --- a/web-src/app/static.go +++ /dev/null @@ -1,6 +0,0 @@ -package web - -import "embed" - -//go:embed index.html logo.svg favicon.ico platform-config.json public/platform-config.json static assets -var Static embed.FS