18 lines
353 B
Text
18 lines
353 B
Text
|
|
FROM python:3.12-slim
|
||
|
|
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||
|
|
build-essential curl ffmpeg \
|
||
|
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
|
||
|
|
COPY requirements.txt .
|
||
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
|
|
||
|
|
COPY token_server.py agent.py ./
|
||
|
|
COPY static/ static/
|
||
|
|
|
||
|
|
EXPOSE 7731
|
||
|
|
|
||
|
|
CMD ["python3", "token_server.py"]
|