Skip to content
Merged
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
3 changes: 2 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
load: true
tags: essentials-security/docusaurus:latest
cache-from: type=gha
cache-to: type=gha
# Cache export is best-effort; the loaded image is the build output.
cache-to: type=gha,ignore-error=true

- name: Load image
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
load: true
tags: essentials-security/docusaurus:latest
cache-from: type=gha
cache-to: type=gha
# Cache export is best-effort; the loaded image is the build output.
cache-to: type=gha,ignore-error=true

- name: Load Image
run: |
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# hadolint global ignore=DL3009,DL3013,DL3042,DL4006,DL3016,DL3059
FROM ghcr.io/open-education-hub/openedu-builder:0.5.1

# Install tools.
Expand All @@ -7,8 +8,8 @@ RUN apt-get update && \
# Install MarkdownPP using pip.
RUN pip install MarkdownPP

# Install node LTS (16)
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
# Install Node.js 16, which is supported by Docusaurus 2.1.
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get update && \
apt-get install -yqq nodejs

Expand Down
Loading