Skip to content

Commit

Permalink
Add BCSans Font to container image
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Ho <[email protected]>
  • Loading branch information
jujaga committed Oct 23, 2023
1 parent 1fa67ca commit 3d5a9df
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ ENV APP_PORT=8080 \
NO_UPDATE_NOTIFIER=true
WORKDIR ${APP_ROOT}

# Install Zip
RUN apk --no-cache add zip && \
rm -rf /var/cache/apk/*

# Install BCSans Font
RUN wget https://www2.gov.bc.ca/assets/gov/british-columbians-our-governments/services-policies-for-government/policies-procedures-standards/web-content-development-guides/corporate-identity-assets/bcsansfont_print.zip?forcedownload=true -O bcsans.zip && \
unzip bcsans.zip && \
rm bcsans.zip && \
mkdir -p /usr/share/fonts/bcsans && \
install -m 644 ./BcSansFont_Print/*.ttf /usr/share/fonts/bcsans/ && \
rm -rf ./BcSansFont_Print

# NPM Permission Fix (already present in base image)

# Install Application
Expand Down

0 comments on commit 3d5a9df

Please sign in to comment.