Spaces:
Paused
Paused
Create Dockerfile
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM openproject/community:latest
|
| 2 |
+
|
| 3 |
+
# HF Spaces uses port 7860
|
| 4 |
+
ENV PORT=7860
|
| 5 |
+
ENV OPENPROJECT_PORT=7860
|
| 6 |
+
|
| 7 |
+
# Set this to your Space's URL
|
| 8 |
+
ENV OPENPROJECT_HOST__NAME=yourusername-yourspacename.hf.space
|
| 9 |
+
|
| 10 |
+
# Ensure the container runs as the HF user if possible,
|
| 11 |
+
# though OpenProject's internal services often need root to start.
|
| 12 |
+
EXPOSE 7860
|