alf: the atproto Latency Fabric alf.fly.dev/
7
fork

Configure Feed

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

at main 23 lines 471 B view raw
1FROM node:20-alpine 2 3WORKDIR /app/demo 4 5COPY packages ../packages 6COPY demo/package*.json ./ 7RUN npm ci 8 9# Copy source files 10COPY demo/client/ ./client/ 11COPY demo/public/ ./public/ 12COPY demo/server.ts ./ 13 14# Build the browser bundle 15RUN npm run build 16 17# Compile server.ts to server.js in the same directory 18RUN ./node_modules/.bin/tsc --module commonjs --moduleResolution node --target es2020 \ 19 --esModuleInterop true server.ts 20 21EXPOSE 1756 22 23CMD ["node", "server.js"]