Files

20 lines
565 B
Docker
Raw Permalink Normal View History

FROM python:3.12-slim
# libolm + toolchain: matrix-nio[e2e] builds python-olm against libolm
RUN apt-get update \
&& apt-get install -y --no-install-recommends libolm-dev libolm3 build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /opt/vortex-tui
COPY pyproject.toml ./
COPY app ./app
RUN pip install --no-cache-dir .
ENV TERM=xterm-256color \
CREDENTIALS_FILE=/shared/credentials.json \
STORE_DIR=/shared/tui-store \
DRAFTS_DB=/shared/drafts/drafts.db
# interactive TUI: run with `docker compose run --rm tui` (TTY)
CMD ["vortex-tui"]