Upgrade runtime to Go 1.25 and add container orchestration.
CI / test (push) Failing after 35s

Add a cache-optimized multi-stage Dockerfile with non-root runtime, compose service definitions for local/dev execution, CI Go version alignment, and docs/path cleanup updates.

Made-with: Cursor
This commit is contained in:
2026-03-01 11:44:07 +00:00
parent f0afa8221f
commit ba7cd51a84
7 changed files with 99 additions and 23 deletions
+17
View File
@@ -0,0 +1,17 @@
services:
api:
build:
context: .
dockerfile: Dockerfile
image: momswap-backend:latest
container_name: momswap-backend-api
environment:
ADDR: ":8080"
ADMIN_PUBLIC_KEY: "${ADMIN_PUBLIC_KEY:-}"
ports:
- "8080:8080"
restart: unless-stopped
develop:
watch:
- action: rebuild
path: .