Postiz / Dockerfile
shiftslabs's picture
Update Dockerfile
88b7c9a verified
Raw
History Blame Contribute Delete
560 Bytes
# 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.