sciagent code + Gitea Actions CI/CD
CI/CD / backend (push) Failing after 2m8s
CI/CD / frontend (push) Failing after 1m40s
CI/CD / deploy (push) Has been skipped

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Thinh Lam
2026-06-30 09:38:30 +07:00
commit 688fac73e9
1167 changed files with 158244 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
FROM python:3.11
# Set the working directory
WORKDIR /app
# Copy the requirements file
COPY ./requirements.txt /app/
# Install dependencies and set up Python environment
RUN apt-get update && apt-get install -y --no-install-recommends \
zstd \
curl \
git \
build-essential \
python3-pip \
libreoffice-writer-nogui \
&& rm -rf /var/lib/apt/lists/*
# RUN curl -fsSL https://ollama.com/install.sh | sh
RUN pip install --upgrade pip
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install nltk
# Avoid runtime GitHub downloads (slow/hanging in some networks) before Uvicorn starts.
RUN python3 -m nltk.downloader punkt punkt_tab stopwords averaged_perceptron_tagger_eng wordnet
COPY . /app/
EXPOSE 4402
ENTRYPOINT ["/app/entrypoint.sh"]