Files
wordcloud/ai-converter/Dockerfile
T
lai_hong 7a506114a2
Build, Push and Deploy / build (push) Failing after 6m44s
Build, Push and Deploy / deploy (push) Skipped
feat(export): add server-side AI export
2026-09-13 13:01:34 +08:00

17 lines
307 B
Docker

# 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"]