UNCLASSIFIED

Skip to content
Snippets Groups Projects
Commit 5c24eb19 authored by Benjamin Allison's avatar Benjamin Allison
Browse files

Update Dockerfile to fix mermaid copypasta error

parent 48dfa509
No related merge requests found
......@@ -45,11 +45,7 @@ RUN apk add --no-cache git openssl py-pygments libc6-compat g++
RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz -O - | tar -C /opt/appbin -xvzf -
## Install Mermaid CLI (along with pupeeter and Chromium)
RUN apk add --no-cache npm \
&& cd /root \
&& npm install mermaid.cli
ENV PATH="${PATH}:/root/node_modules/.bin"
RUN npm install mermaid.cli
RUN export uid=1000 gid=1000 && \
echo "appuser:x:${uid}:${gid}:AppUser,,,:/opt/course_builder:/bin/bash" >> /etc/passwd && \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment