this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

add error page support (none given) and fix build

+27 -10
+10 -10
caddy/Dockerfile
··· 10 10 RUN corepack enable pnpm && corepack install -g pnpm@latest 11 11 12 12 # dong web 13 - COPY ./dong-web ./dong-web 14 - RUN pnpm --dir ./dong-web install --prod 15 - RUN pnpm --dir ./dong-web run build --outDir ./dong-web/dist 13 + COPY ./dong-web /app/dong-web 14 + RUN pnpm --dir /app/dong-web install --prod 15 + RUN pnpm --dir /app/dong-web run build --outDir /app/dong-web/dist 16 16 17 17 # saltire 18 - COPY ./saltire-the-gays ./saltire-the-gays 19 - RUN pnpm --dir ./saltire-the-gays install --prod 20 - RUN pnpm --dir ./saltire-the-gays run build --outDir ./saltire-the-gays/dist 18 + COPY ./saltire-the-gays /app/saltire-the-gays 19 + RUN pnpm --dir /app/saltire-the-gays install --prod 20 + RUN pnpm --dir /app/saltire-the-gays run build --outDir /app/saltire-the-gays/dist 21 21 22 22 # astral powers 23 - COPY ./dnd ./dnd 24 - RUN pnpm --dir ./dnd install --prod 25 - RUN pnpm --dir ./dnd run build --outDir ./dnd/dist 23 + COPY ./dnd /app/dnd 24 + RUN pnpm --dir /app/dnd install --prod 25 + RUN pnpm --dir /app/dnd run build --outDir /app/dnd/dist 26 26 27 27 ######### 28 28 # CADDY # ··· 32 32 # copy built files to /srv 33 33 COPY --from=build /app/dong-web/dist /srv/dong-web 34 34 COPY --from=build /app/saltire-the-gays/dist /srv/saltire-the-gays 35 - COPY --from=build /app/astral-powers/dist /srv/dnd 35 + COPY --from=build /app/dnd/dist /srv/dnd
+17
caddy/conf/Caddyfile
··· 1 + (error) { 2 + handle_errors { 3 + @custom_err file /{err.status_code}.html 4 + handle @custom_err { 5 + rewrite * {file_match.relative} 6 + file_server 7 + } 8 + } 9 + 10 + handle_errors { 11 + respond "{err.status_code} {err.status_text}" 12 + } 13 + } 14 + 1 15 {$HOST:localhost} { 2 16 reverse_proxy prs:4321 3 17 } ··· 11 25 dong.{$HOST:localhost} { 12 26 encode 13 27 root /srv/dong-web 28 + import error 14 29 file_server 15 30 } 16 31 17 32 saltire-the-gays.{$HOST:localhost} { 18 33 encode 19 34 root /srv/saltire-the-gays 35 + import error 20 36 file_server 21 37 } 22 38 23 39 dnd.{$HOST:localhost} { 24 40 encode 25 41 root /srv/dnd 42 + import error 26 43 file_server 27 44 }