We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c0064 commit 95e9769Copy full SHA for 95e9769
docker/latest/Dockerfile.base
@@ -5,10 +5,10 @@ ENV LC_ALL="en_US.UTF-8"
5
RUN apk add --no-cache curl unzip
6
RUN curl -L "https://github.com/doocs/md/archive/refs/heads/main.zip" -o "main.zip" && unzip "main.zip" && mv "md-main" /app
7
WORKDIR /app
8
-COPY ./patch/vite.config.ts /app/vite.config.ts
+RUN npm install -g pnpm
9
ENV NODE_OPTIONS="--openssl-legacy-provider"
10
-RUN npm i && npm run build
+RUN pnpm install && pnpm web build:h5-netlify
11
12
FROM scratch
13
LABEL MAINTAINER="ylb<[email protected]>"
14
-COPY --from=builder /app/dist /app/assets
+COPY --from=builder /app/apps/web/dist /app/assets
docker/latest/patch/vite.config.ts
0 commit comments