Fork of official Bluesky PDS (Personal Data Server).
0
fork

Configure Feed

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

Remove goat build from Dockerfile

sullen fc74979c 6eb75728

+3 -16
+3 -16
Dockerfile
··· 1 - # NOTE there is an additional build stage below that should match 2 - FROM node:20.20-alpine3.23 as build 1 + FROM node:20.20-alpine3.23 AS build 3 2 3 + # Move files into the image and install 4 4 RUN corepack enable 5 - 6 - # Build goat binary 7 - ENV CGO_ENABLED=0 8 - ENV GODEBUG="netdns=go" 9 - WORKDIR /tmp 10 - RUN apk add --no-cache git go 11 - RUN git clone https://github.com/bluesky-social/goat.git && cd goat && git checkout v0.2.1 && go build -o /tmp/goat-build . 12 - 13 - # Move files into the image and install 14 5 WORKDIR /app 15 6 COPY ./service ./ 16 7 RUN corepack prepare --activate 17 8 RUN pnpm install --production --frozen-lockfile > /dev/null 18 9 19 - # Uses assets from build stage to reduce build size 20 10 FROM node:20.20-alpine3.23 21 11 12 + # Avoid zombie processes, handle signal forwarding 22 13 RUN apk add --update dumb-init 23 - 24 - # Avoid zombie processes, handle signal forwarding 25 14 ENTRYPOINT ["dumb-init", "--"] 26 15 27 16 WORKDIR /app 28 17 COPY --from=build /app /app 29 - COPY --from=build /tmp/goat-build /usr/local/bin/goat 30 18 31 19 EXPOSE 3000 32 20 ENV PDS_PORT=3000 33 21 ENV NODE_ENV=production 34 - # potential perf issues w/ io_uring on this version of node 35 22 ENV UV_USE_IO_URING=0 36 23 37 24 CMD ["node", "--enable-source-maps", "index.js"]