Skip to content

Commit 8ed10af

Browse files
Updates
1 parent d887091 commit 8ed10af

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
FROM python:3.9-slim
1+
FROM python:3.11-slim
2+
23
WORKDIR /app
4+
35
COPY requirements.txt .
46
RUN pip install --no-cache-dir -r requirements.txt
7+
58
COPY app/ .
6-
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
79

10+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]

render.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
services:
2+
- type: web
3+
name: mlops-drift-detector
4+
runtime: python
5+
region: oregon
6+
plan: free
7+
buildCommand: pip install -r requirements.txt
8+
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
9+
healthCheckPath: /healthz
10+
envVars:
11+
- key: PYTHON_VERSION
12+
value: 3.11.11
13+
- key: DISCORD_WEBHOOK
14+
sync: false

requirements.txt

-228 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)