Dockerize app

This commit is contained in:
2026-03-30 21:35:37 +02:00
parent e81286b394
commit b6f831631f
5 changed files with 70 additions and 5 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ package main
import (
"log"
"path/filepath"
"quay/app/routes"
"quay/internal/config"
"quay/internal/envconfig"
@@ -16,7 +17,8 @@ func main() {
envCfg := envconfig.Load()
cfg, err := config.Load("config.yaml")
configFilePath := filepath.Join(envCfg.ConfigDir, "config.yaml")
cfg, err := config.Load(configFilePath)
if err != nil {
panic("Failed to load config: " + err.Error())
}