refactor: reorganize project structure and fix broken references
- Move scripts to scripts/ directory (roda.sh, prepara_db.py, etc.) - Move shell config to shell/ directory (Caddyfile, auth.py, haloy.yml) - Move basedosdados.duckdb to data/ directory - Update Dockerfile and start.sh with new file paths - Update README.md with correct script paths - Remove Python ask.py (replaced by Rust binary in ask/ask) - Add Rust source files (schema_filter.rs, sql_generator.rs, table_selector.rs) - Remove sentence-transformer dependencies from ask - Move docs and context artifacts to their directories
This commit is contained in:
@@ -28,8 +28,9 @@ ENV PATH="/root/.cargo/bin:${PATH}" \
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY basedosdados.duckdb Caddyfile start.sh auth.py ask.py ./
|
||||
RUN chmod +x start.sh
|
||||
COPY data/basedosdados.duckdb shell/Caddyfile shell/auth.py start.sh ./
|
||||
COPY ask/ask /app/ask
|
||||
RUN chmod +x start.sh /app/ask
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user