File size: 531 Bytes
1c83a32
4afd09c
e467686
1c83a32
e467686
 
 
1c83a32
 
 
 
e467686
1c83a32
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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