Changed pnpm->yarn b/c of sporadic build issues
continuous-integration/drone/push Build is passing Details

ref #7
This commit is contained in:
Nicolai Ort 2021-04-06 19:04:44 +02:00
parent c7feec631e
commit 32a51c8cb1
1 changed files with 2 additions and 3 deletions

View File

@ -1,10 +1,9 @@
FROM node:15.5.1-alpine3.12 AS build
WORKDIR /app
RUN npm i -g pnpm
COPY package.json ./
RUN pnpm i
RUN yarn
COPY . ./
RUN pnpm run build
RUN yarn build
# final image
FROM fholzer/nginx-brotli:v1.19.1 AS final
COPY --from=build /app/src/.vuepress/dist /usr/share/nginx/html