Files
whisperbox-transcribe/dev.Dockerfile
2023-01-06 16:08:31 +01:00

16 lines
287 B
Docker

FROM python:3.11
WORKDIR /code
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# Install dependencies
COPY pyproject.toml .
RUN pip install -U pip
RUN pip install .[test]
# The source code is mounted as a volume at /code, no need to copy.
ENTRYPOINT ["bash", "./app/start.sh"]