feat(export): add server-side AI export
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt \
|
||||
&& useradd --system --no-create-home converter
|
||||
|
||||
COPY app.py ./
|
||||
USER converter
|
||||
|
||||
EXPOSE 8090
|
||||
|
||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8090"]
|
||||
Reference in New Issue
Block a user