Files
jabber.space/Dockerfile
2025-07-09 12:25:44 +02:00

21 lines
512 B
Docker

FROM node:latest
RUN apt-get update && \
apt-get install -y git make doxygen python3-sphinx && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN git clone --depth 1 https://git.jabber.space/devs/profanity.git ./profanity
COPY package*.json ./
RUN npm ci
COPY --exclude=.git . .
RUN cd /app/profanity/apidocs/c/ && ./gen.sh
RUN cd /app/profanity/apidocs/python/ && ls -alh && chmod +x gen.sh && ./gen.sh
RUN npm run astro telemetry disable
RUN npm run pre-build
RUN npm run build