fix: use Python ask.py instead of Rust binary to avoid compilation

This commit is contained in:
2026-03-28 15:46:48 +01:00
parent 533b9d265e
commit 3788e2cc81
4 changed files with 5 additions and 10 deletions

View File

@@ -28,14 +28,8 @@ ENV PATH="/root/.cargo/bin:${PATH}" \
WORKDIR /app
COPY basedosdados.duckdb Caddyfile start.sh auth.py ./
COPY ask/ ./ask/
RUN cd ask && /root/.cargo/bin/cargo build --release && \
mv target/release/ask /app/ask && \
rm -rf target && \
file /app/ask && \
ldd /app/ask || true
RUN chmod +x start.sh /app/ask
COPY basedosdados.duckdb Caddyfile start.sh auth.py ask.py ./
RUN chmod +x start.sh
EXPOSE 8080