mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-08 03:28:35 +03:00
docs: improve documentation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM python:3.10 as python-build
|
||||
FROM python:3.10-slim as python-build
|
||||
|
||||
WORKDIR /etc/whisperbox
|
||||
WORKDIR /etc/whisperbox-transcribe
|
||||
|
||||
COPY pyproject.toml .
|
||||
|
||||
@@ -8,14 +8,14 @@ RUN python -m venv /opt/venv && \
|
||||
/opt/venv/bin/pip install -U pip wheel && \
|
||||
/opt/venv/bin/pip install -U .[web]
|
||||
|
||||
FROM python:3.10 as python-deploy
|
||||
FROM python:3.10-slim as python-deploy
|
||||
|
||||
WORKDIR /etc/whisperbox
|
||||
WORKDIR /etc/whisperbox-transcribe
|
||||
|
||||
COPY --from=python-build /opt/venv /opt/venv
|
||||
|
||||
COPY app ./app
|
||||
COPY alembic.ini ./
|
||||
COPY alembic.ini .
|
||||
|
||||
ENV VIRTUAL_ENV /opt/venv
|
||||
ENV PATH /opt/venv/bin:$PATH
|
||||
|
||||
Reference in New Issue
Block a user