Skip to content

Commit 95e9769

Browse files
committed
feat: remove vite config file
1 parent d0c0064 commit 95e9769

File tree

2 files changed

+3
-75
lines changed

2 files changed

+3
-75
lines changed

docker/latest/Dockerfile.base

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ ENV LC_ALL="en_US.UTF-8"
55
RUN apk add --no-cache curl unzip
66
RUN curl -L "https://github.com/doocs/md/archive/refs/heads/main.zip" -o "main.zip" && unzip "main.zip" && mv "md-main" /app
77
WORKDIR /app
8-
COPY ./patch/vite.config.ts /app/vite.config.ts
8+
RUN npm install -g pnpm
99
ENV NODE_OPTIONS="--openssl-legacy-provider"
10-
RUN npm i && npm run build
10+
RUN pnpm install && pnpm web build:h5-netlify
1111

1212
FROM scratch
1313
LABEL MAINTAINER="ylb<[email protected]>"
14-
COPY --from=builder /app/dist /app/assets
14+
COPY --from=builder /app/apps/web/dist /app/assets

docker/latest/patch/vite.config.ts

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)