# Pull directly from the official GitHub Container Registry FROM ghcr.io/gitroomhq/postiz-app:latest # Force the container to route to Hugging Face's mandatory port 7860 ENV PORT=7860 EXPOSE 7860 # Point the application's internal networks to Hugging Face's port layout ENV BACKEND_INTERNAL_URL=http://localhost:7860 ENV FRONTEND_URL=http://localhost:7860 ENV NEXT_PUBLIC_BACKEND_URL=http://localhost:7860/api # DO NOT ADD A "CMD" LINE. # Leaving this blank forces Hugging Face to use the official, untouched startup script built by the Postiz developers.