PluralKit/docs/Dockerfile
2025-04-07 00:56:18 +00:00

18 lines
348 B
Docker

FROM alpine:latest AS builder
RUN apk add nodejs-current yarn
WORKDIR /build
COPY . .
RUN yarn
ENV NODE_OPTIONS=--openssl-legacy-provider
RUN yarn build
FROM alpine:latest
RUN apk add caddy
WORKDIR /app
COPY --from=builder /build/content/.vuepress/dist /app
ENTRYPOINT [ "/usr/sbin/caddy", "file-server", "-l", "0.0.0.0:8000", "-r", "/app" ]