mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-10 20:48:35 +03:00
12 lines
283 B
Docker
12 lines
283 B
Docker
FROM python:3.10
|
|
|
|
WORKDIR /code
|
|
|
|
ENV PYTHONIOENCODING=utf-8
|
|
ENV PATH=/root/.local/bin:$PATH
|
|
|
|
COPY pyproject.toml .
|
|
RUN pip install --no-cache-dir --user .[web]
|
|
|
|
CMD alembic upgrade head && uvicorn app.web.main:app --reload --host ${HOST:-0.0.0.0} --port ${PORT:-80} --log-level info
|