Initial commit
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user