This repository has no description
0

Configure Feed

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

core / localinfra / avatar.Dockerfile
774 B 27 lines
1# Development only. Not for production use. 2FROM node:24-slim 3 4# slim carries no trust store and workerd reads the system one 5RUN apt-get update \ 6 && apt-get install -y --no-install-recommends ca-certificates \ 7 && rm -rf /var/lib/apt/lists/* 8 9COPY <<'EOF' /usr/local/bin/avatar-entrypoint.sh 10#!/bin/sh 11set -eu 12if [ -f /caddy-ca/root.crt ]; then 13 cp /caddy-ca/root.crt /usr/local/share/ca-certificates/caddy-dev.crt 14 update-ca-certificates >/dev/null 15fi 16npm ci --no-audit --no-fund 17exec npx wrangler dev --ip 0.0.0.0 --port 8787 \ 18 --var "AVATAR_SHARED_SECRET:${AVATAR_SHARED_SECRET}" \ 19 --var "PLC_DIRECTORY_URL:${PLC_DIRECTORY_URL}" 20EOF 21RUN chmod +x /usr/local/bin/avatar-entrypoint.sh 22 23WORKDIR /src 24 25EXPOSE 8787 26 27ENTRYPOINT ["/usr/local/bin/avatar-entrypoint.sh"]