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:
1 parent
7c2b9fb3f4
commit
9895017385
10 files changed
+36
-30
No files matched your search
+1
-2
@@ -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"]
|
||||
Reference in new issue
Block a user