Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.13
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
FROM python:3.11-slim
FROM python:3.13-slim-bookworm

WORKDIR /app

RUN apt-get update && \
apt-get install -y --no-install-recommends gcc && \
rm -rf /var/lib/apt/lists/*

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY --from=ghcr.io/astral-sh/uv:0.10.7 /uv /usr/local/bin/uv

COPY pyproject.toml uv.lock ./
RUN uv sync --frozen --no-dev --no-cache

COPY . .

RUN mkdir -p pdfs images backups

CMD ["python", "main.py"]
CMD ["uv", "run", "python", "main.py"]
18 changes: 18 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[project]
name = "inhuman-science"
version = "0.1.0"
description = "Add your description here"
requires-python = ">=3.13"
dependencies = [
"apscheduler>=3.10.0",
"beautifulsoup4>=4.12.0",
"feedparser>=6.0.0",
"numpy>=1.26.0",
"openai>=1.40.0",
"pillow>=10.0.0",
"pymupdf>=1.24.0",
"python-dotenv>=1.0.0",
"pytz>=2024.1",
"requests>=2.31.0",
"tweepy>=4.14.0",
]
11 changes: 0 additions & 11 deletions requirements.txt

This file was deleted.

Loading