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
18 lines
362 B
YAML
18 lines
362 B
YAML
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: .
|