build(docker): hopefully fixed the build error

This commit is contained in:
AlphaNecron 2021-10-06 19:12:25 +07:00
parent eafb3576c4
commit c9e6a73341
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
FROM node:fermium-alpine3.14 AS builder
WORKDIR /build
RUN apk add libressl-dev openssl-dev
RUN ln -s libssl.so.3 libssl.so
RUN ldconfig
ENV NEXT_TELEMETRY_DISABLED=1
@ -33,4 +34,4 @@ COPY --from=builder /build/tsconfig.json ./tsconfig.json
COPY --from=builder /build/package.json ./package.json
COPY --from=builder /build/twilight ./twilight
CMD ["npm", "start"]
CMD ["yarn", "start"]