Fix engine daemon exit and UI DuckDB access
- Add if __name__ == '__main__' guard to main.py (engine exited immediately) - Update Dockerfile TA-Lib build for ARM64 (config.guess/config.sub) - Add redis dependency to pyproject.toml - Add docker-compose.override.yml for local dev with source mounting - Remove :ro from UI engine volume mount (DuckDB needs write for WAL)
This commit is contained in:
@@ -11,12 +11,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
wget \
|
||||
curl \
|
||||
dpkg-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install TA-Lib C library
|
||||
# Install TA-Lib C library (with ARM64 support)
|
||||
RUN wget -q http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz \
|
||||
&& tar -xzf ta-lib-0.4.0-src.tar.gz \
|
||||
&& cd ta-lib \
|
||||
&& wget -q -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' \
|
||||
&& wget -q -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' \
|
||||
&& ./configure --prefix=/usr \
|
||||
&& make \
|
||||
&& make install \
|
||||
|
||||
Reference in New Issue
Block a user