Docker image build recipe for Phanpy.
docker build -t phanpy .The image builds the upstream production branch by default. To build another branch or tag:
docker build \
--build-arg PHANPY_REF=main \
-t phanpy .Phanpy reads PHANPY_* values during the Vite build. Pass customization as build arguments:
docker build \
--build-arg PHANPY_CLIENT_NAME="Phanpy" \
--build-arg PHANPY_WEBSITE="https://phanpy.example.com" \
--build-arg PHANPY_DEFAULT_INSTANCE="mastodon.social" \
-t phanpy .docker run --rm -p 8080:80 phanpy