add api for post browser-use tasks

This commit is contained in:
Кобылкевич Фёдор 2026-04-07 22:01:53 +03:00
parent 890d492de0
commit d277955a9a
11 changed files with 320 additions and 8 deletions

13
api/Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY . /app/api
CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8088"]