File size: 362 Bytes
7f971bd
 
 
026fe1f
7f971bd
fdeeb34
 
7f971bd
fdeeb34
 
7f971bd
 
d892581
7f971bd
 
d892581
026fe1f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.10-slim

# System setup
RUN apt-get update && apt-get install -y procps zstd && rm -rf /var/lib/apt/lists/*

WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

# Environment Variables
ENV PORT=8080
ENV PYTHONUNBUFFERED=1

EXPOSE 8080
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]