Retro Bulletin Board Systems on atproto. Web app and TUI.
lazy mirror of alyraffauf/atbbs
atbbs.xyz
forums
python
tui
atproto
bbs
1FROM node:22-slim AS build
2
3WORKDIR /repo/web
4COPY web/package.json web/package-lock.json ./
5RUN npm ci
6COPY web/ .
7COPY data/shared.json /repo/data/shared.json
8RUN npm run build
9
10FROM nginx:alpine
11COPY --from=build /repo/web/dist /usr/share/nginx/html
12COPY web/nginx.conf /etc/nginx/conf.d/default.conf
13COPY web/docker-entrypoint.sh /docker-entrypoint.sh
14RUN chmod +x /docker-entrypoint.sh
15EXPOSE 80
16ENTRYPOINT ["/docker-entrypoint.sh"]
17CMD ["nginx", "-g", "daemon off;"]