mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-08 03:28:35 +03:00
refactor: restructure project layout
This commit is contained in:
16
docker/app.dev.Dockerfile
Normal file
16
docker/app.dev.Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM python:3.11 AS compile-image
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --user .[test]
|
||||
|
||||
FROM python:3.11 AS build-image
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
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