mirror of
https://github.com/prdlk/vortex.git
synced 2026-08-02 17:31:41 +00:00
20 lines
565 B
Docker
20 lines
565 B
Docker
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"]
|