Can't build on linux
Closed this issue · 1 comments
etienne-napoleone commented
Can't build docs on linux:
$ yarn
...
error fsevents@1.2.13: The platform "linux" is incompatible with this module.
error Found incompatible module.
hanjukim commented
I could successfully built a docker image by following Dockerfile
FROM node:lts as builder
WORKDIR /app
COPY . .
RUN yarn install --frozen-lockfile && yarn build
FROM nginx:stable-alpine
COPY --from=builder /app/docs/.vuepress/dist /usr/share/nginx/html
EXPOSE 80
Can we close this issue?