Restructure scripts into dev/ and prod/ for the devcontainer

- scripts/prod: entrypoint, db-setup and schema.sql shipped in the image
- scripts/dev: seed/clear db, psql and cleanup, run natively in the
  devcontainer instead of via docker-compose
- move setup.cfg to the repo root so linters pick it up
- Makefile targets run directly in the devcontainer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
finnandClaude Opus 5.5 committed 2026-10-21 08:39:28 +00:00
1 parent 7c2b9fb3f4
commit 9895017385
10 files changed
+36 -30

No files matched your search

+1 -2
View File
@@ -14,8 +14,7 @@ ENV PYTHONPATH=/app/
ENV FLASK_APP=max.app
COPY max/ ./max
COPY scripts/entrypoint.sh .
COPY scripts/db-setup.sh .
COPY scripts/prod/ .
ENTRYPOINT ["./entrypoint.sh"]
CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:8000", "max.app:app"]