mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-12 13:38:34 +03:00
@@ -1,13 +1,11 @@
|
||||
FROM python:3.10 AS compile-image
|
||||
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]
|
||||
|
||||
ENV PYTHONIOENCODING=utf-8
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV PATH=/root/.local/bin:$PATH
|
||||
|
||||
CMD alembic upgrade head && uvicorn app.web.main:app --reload --host ${HOST:-0.0.0.0} --port ${PORT:-80} --log-level info
|
||||
|
||||
Reference in New Issue
Block a user