Skip to content
Draft
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 .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ sites/*/scraped_data/
sites/*/__pycache__/
**/__pycache__/
sites/*/venv/
.venv/
sites/*/*.pyc

# Don't ship — HF asset tarballs are build-time inputs (fetched/extracted by
Expand Down
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ sites/*/static/external_cache/
# =============================================================
# Intermediate / volatile — never committed anywhere.
# =============================================================
sites/*/scraped_data/ # scrape pipeline intermediate; runtime data lives in instance_seed/*.db
sites/*/instance/ # rebuilt at every container boot from instance_seed/
# scrape pipeline intermediate; runtime data lives in instance_seed/*.db
sites/*/scraped_data/
# rebuilt at every container boot from instance_seed/
sites/*/instance/
sites/*/venv/

# HF download metadata produced by `hf download`.
Expand Down Expand Up @@ -92,4 +94,4 @@ secrets.json
# ============================================================
# Agent demo results
# =============================================================
agent_demo/runs/
agent_demo/runs/
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# WebHarbor — slim, self-contained image.
# 15 Flask mirror sites + control plane on :8101.
# Flask mirror sites + control plane on :8101.

FROM python:3.12-slim-bookworm

Expand Down Expand Up @@ -33,6 +33,6 @@ COPY control_server.py /opt/control_server.py
COPY site_runner.py /opt/site_runner.py
RUN chmod +x /opt/websyn_start.sh

EXPOSE 8101 40000-40014
EXPOSE 8101 40000-40015

CMD ["/opt/websyn_start.sh"]
Loading