mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-11 21:18:36 +03:00
feat: add whisper tasks
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
FROM python:3.10 AS compile-image
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN --mount=type=cache,target=/root/.cache \
|
||||
pip install --user .[web]
|
||||
|
||||
FROM python:3.10 AS build-image
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --no-cache-dir --user .[web]
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
COPY --from=compile-image /root/.local /root/.local
|
||||
ENV PATH=/root/.local/bin:$PATH
|
||||
|
||||
ENTRYPOINT ["bash", "./app/web/start.sh"]
|
||||
|
||||
Reference in New Issue
Block a user