This repository has no description
0

Configure Feed

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

core / localinfra / pdsls.Dockerfile
725 B 24 lines
1# Development only. Not for production use. 2 3FROM docker.io/oven/bun:alpine AS build 4 5RUN apk add --no-cache git patch 6 7WORKDIR /src 8RUN git clone https://tangled.org/pds.ls/pdsls.git . && \ 9 git checkout b52109b6a98953701aa2bf8038568eabc787251a 10 11COPY localinfra/pdsls.patch ./ 12RUN patch -p1 < pdsls.patch 13 14RUN bun install 15RUN bun run build 16 17FROM docker.io/library/caddy:2-alpine 18COPY --from=build /src/dist /usr/share/caddy 19RUN echo ":80 {" > /etc/caddy/Caddyfile && \ 20 echo " root * /usr/share/caddy" >> /etc/caddy/Caddyfile && \ 21 echo " file_server" >> /etc/caddy/Caddyfile && \ 22 echo " try_files {path} {path}/ /index.html" >> /etc/caddy/Caddyfile && \ 23 echo "}" >> /etc/caddy/Caddyfile 24EXPOSE 80