Bake the GeoNames cities database into the image at build time instead of relying on host-mounted sqlite files, and fix the Go build stage to cross-compile for the requested target platform instead of hardcoding amd64 (was silently broken for arm64 builds).
12 lines
209 B
YAML
12 lines
209 B
YAML
services:
|
|
prayertimes:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: prayertimes
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
PORT: "8000"
|
|
restart: unless-stopped
|