Skip to content

Commit

Permalink
remove legacy sqlite.db
Browse files Browse the repository at this point in the history
  • Loading branch information
rauner committed Mar 19, 2024
1 parent 47d991c commit 8b8a39f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The assistant enhances the chat interface with dynamic content loading using htm
- Scrape context files from online resources.
- RESTful API for handling chat sessions.
- Integration with OpenAI's GPT-4 for generating assistant responses.
- SQLite database for storing conversation history.
- Databasei connection for storing conversation history.
- Environment-based configuration using `.env` files.
- Dynamic content loading with htmx for a seamless user experience.
- Client-side interactivity with JavaScript for enhanced chat functionalities.
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ services:
- "3000:3000"
volumes:
- ./rust_bot/static:/usr/local/bin/static
- ./rust_bot/sqlite.db:/usr/local/bin/sqlite.db
- ./rust_bot/.env:/usr/local/bin/.env # Mount the .env file
environment:
- RUST_LOG=info
Expand Down
2 changes: 0 additions & 2 deletions docker/dev.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ COPY rust_bot/src src
COPY rust_bot/static static
COPY rust_bot/context context
COPY rust_bot/tests tests
COPY rust_bot/sqlite.db sqlite.db
COPY rust_bot/.env .env
# Build the application in release mode with musl target
RUN cargo build --release --target x86_64-unknown-linux-musl
Expand All @@ -25,7 +24,6 @@ COPY --from=builder /usr/src/rust_bot/target/x86_64-unknown-linux-musl/release/r
# Copy static files and data if needed
COPY --from=builder /usr/src/rust_bot/static /static
COPY --from=builder /usr/src/rust_bot/context /context
COPY --from=builder /usr/src/rust_bot/sqlite.db /sqlite.db
COPY --from=builder /usr/src/rust_bot/.env /.env
# Copy CA certificates
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
Expand Down
2 changes: 0 additions & 2 deletions docker/main.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ COPY rust_bot/src src
COPY rust_bot/static static
COPY rust_bot/context context
COPY rust_bot/tests tests
COPY rust_bot/sqlite.db sqlite.db
COPY rust_bot/.env .env
# Build the application in release mode with musl target
RUN cargo build --release --target x86_64-unknown-linux-musl
Expand All @@ -25,7 +24,6 @@ COPY --from=builder /usr/src/rust_bot/target/x86_64-unknown-linux-musl/release/r
# Copy static files and data if needed
COPY --from=builder /usr/src/rust_bot/static /static
COPY --from=builder /usr/src/rust_bot/context /context
COPY --from=builder /usr/src/rust_bot/sqlite.db /sqlite.db
COPY --from=builder /usr/src/rust_bot/.env /.env
# Copy CA certificates
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
Expand Down

0 comments on commit 8b8a39f

Please sign in to comment.