This commit is contained in:
coward 2024-06-04 10:45:38 +08:00
parent 177d8b2472
commit b9f153836d
2 changed files with 2 additions and 8 deletions

View File

@ -1,14 +1,14 @@
FROM node:18-alpine as build-stage FROM node:18-alpine as build-stage
WORKDIR front WORKDIR front
COPY . . COPY ./web-src .
WORKDIR web-src WORKDIR web-src
RUN ls -lh RUN ls -lh
RUN corepack enable RUN corepack enable
RUN corepack prepare pnpm@8.6.10 --activate RUN corepack prepare pnpm@8.6.10 --activate
RUN npm config set registry https://registry.npmmirror.com RUN npm config set registry https://registry.npmmirror.com
RUN pnpm install --frozen-lockfile RUN pnpm install
RUN pnpm build RUN pnpm build

View File

@ -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