Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ RUN npm run build
# Fix sourcemaps
RUN npm run fix-sourcemaps

# Docs Container
FROM iroachie/headless-libreoffice:latest AS docs-builder

WORKDIR /docs

COPY ./docs /docs/
RUN mkdir /docs/pdf

# Convert fodt files to pdf
RUN libreoffice --headless --convert-to pdf /docs/*.fodt --outdir /docs/pdf

# Real container that will run
FROM node:24-alpine3.21

Expand All @@ -31,6 +42,10 @@ RUN apk add --no-cache openssl
# Bring in package.json and install deps
COPY --from=builder /build/package*.json /app/

# Bring docs into /app/static/docs
RUN mkdir -p /app/static/docs
COPY --from=docs-builder /docs/pdf/*.pdf /app/static/docs

# Install production dependencies
RUN npm ci

Expand Down
303,804 changes: 303,804 additions & 0 deletions docs/Creating a Google Play API Key.fodt

Large diffs are not rendered by default.

328,563 changes: 328,563 additions & 0 deletions docs/Help Guide for Scriptoria.fodt

Large diffs are not rendered by default.

280,163 changes: 280,163 additions & 0 deletions docs/Installing Android Apps For Testing.fodt

Large diffs are not rendered by default.

Loading
Loading