Add database migration scripts and configuration files
- Add verify-migration.js script for testing database migrations - Add database config module for centralized configuration - Add chutes.txt prompt for system responses - Update database implementation and testing documentation - Add database migration and setup scripts - Update session system and LLM tool configuration - Update deployment checklist and environment example - Update Dockerfile and docker-compose configuration
This commit is contained in:
@@ -73,6 +73,11 @@ RUN apt-get update \
|
||||
tini \
|
||||
libicu-dev \
|
||||
libssl-dev \
|
||||
build-essential \
|
||||
python3 \
|
||||
pkg-config \
|
||||
sqlcipher \
|
||||
libsqlcipher-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Node.js
|
||||
@@ -114,6 +119,8 @@ RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/healthcheck.sh /usr/loc
|
||||
|
||||
# Copy webchat
|
||||
COPY chat /opt/webchat
|
||||
ENV npm_config_sqlite=sqlcipher \
|
||||
npm_config_build_from_source=true
|
||||
RUN cd /opt/webchat && npm install --production && chmod -R 755 /opt/webchat
|
||||
|
||||
COPY chat_v2 /opt/webchat_v2
|
||||
|
||||
Reference in New Issue
Block a user