Ava2lon commited on
Commit
9211f3a
·
verified ·
1 Parent(s): 3dad797

Upload 5 files

Browse files
Files changed (3) hide show
  1. Dockerfile +3 -0
  2. README.md +5 -0
  3. pyproject.toml +1 -1
Dockerfile CHANGED
@@ -7,6 +7,9 @@ WORKDIR /app
7
  COPY requirements.txt .
8
  RUN pip install --no-cache-dir -r requirements.txt
9
  COPY app ./app
 
 
 
10
 
11
  EXPOSE 7860
12
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
7
  COPY requirements.txt .
8
  RUN pip install --no-cache-dir -r requirements.txt
9
  COPY app ./app
10
+ RUN useradd --create-home --uid 10001 flowforge
11
+
12
+ USER flowforge
13
 
14
  EXPOSE 7860
15
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
README.md CHANGED
@@ -11,3 +11,8 @@ pinned: false
11
  # FlowForge API
12
 
13
  FastAPI backend for the FlowForge AI n8n workflow builder.
 
 
 
 
 
 
11
  # FlowForge API
12
 
13
  FastAPI backend for the FlowForge AI n8n workflow builder.
14
+
15
+ Configure `SUPABASE_URL`, `SUPABASE_SERVICE_ROLE_KEY`, `AUTH_REQUIRED=true`,
16
+ one configured AI provider key, and `FRONTEND_URL` as Space secrets/variables before
17
+ production deployment. The container fails fast when required production
18
+ configuration is absent.
pyproject.toml CHANGED
@@ -2,7 +2,7 @@
2
  name = "flowforge-api"
3
  version = "0.1.0"
4
  description = "AI workflow generation and validation service for FlowForge"
5
- requires-python = ">=3.11"
6
 
7
  [tool.pytest.ini_options]
8
  pythonpath = ["."]
 
2
  name = "flowforge-api"
3
  version = "0.1.0"
4
  description = "AI workflow generation and validation service for FlowForge"
5
+ requires-python = ">=3.11,<3.14"
6
 
7
  [tool.pytest.ini_options]
8
  pythonpath = ["."]