Skip to content

Commit

Permalink
BC-8221 - host bbb presentation pdfs in nuxt instead of s3 to be able…
Browse files Browse the repository at this point in the history
… to replace it by devs (#3483)
  • Loading branch information
uidp authored Dec 20, 2024
1 parent d5804a2 commit d780877
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ RUN NODE_ENV=production npm run build

COPY .git ./.git
RUN echo "{\"sha\": \"$(git rev-parse HEAD)\", \"version\": \"$(git describe --tags --abbrev=0)\", \"commitDate\": \"$(git log -1 --format=%cd --date=format:'%Y-%m-%dT%H:%M:%SZ')\", \"birthdate\": \"$(date +%Y-%m-%dT%H:%M:%SZ)\"}" > ./dist/nuxtversion
RUN if [ -f "public/themes/${SC_THEME}/bbb/presentation.pdf" ]; then \
cp "public/themes/${SC_THEME}/bbb/presentation.pdf" ./dist/bbb-presentation.pdf; \
else \
echo "File public/themes/${SC_THEME}/bbb/presentation.pdf does not exist, skipping."; \
fi

# run stage
FROM docker.io/nginx:1.27
Expand Down
Binary file added public/themes/brb/bbb/presentation.pdf
Binary file not shown.
Binary file added public/themes/default/bbb/presentation.pdf
Binary file not shown.
Binary file added public/themes/thr/bbb/presentation.pdf
Binary file not shown.

0 comments on commit d780877

Please sign in to comment.