openproject / Dockerfile
Subham9126's picture
Update Dockerfile
4afd09c verified
Raw History Blame Contribute Delete
531 Bytes
# Use the correct official image name
FROM openproject/openproject:17.8
# Hugging Face Spaces requires the app to run on port 7860
ENV PORT=7860
ENV OPENPROJECT_PORT=7860
# Ensure the container knows its public address
# (Replace with your actual Space name)
ENV OPENPROJECT_HOST__NAME=altool-openproject.hf.space
ENV OPENPROJECT_HTTPS=true
# HF Spaces runs as user 1000.
# OpenProject's 'all-in-one' image usually needs root to start
# internal services (Postgres/Apache), so we stay as root for the entrypoint.
EXPOSE 7860