admin-console: fix duplicate package main, fix Dockerfile build order

This commit is contained in:
“Naeel”
2026-05-25 10:21:13 +04:00
parent 190361ab0c
commit d570a6b8a5
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
FROM golang:1.26-alpine AS builder
WORKDIR /build
COPY go.mod ./
RUN go mod tidy
COPY . .
RUN go mod tidy
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o admin-console ./cmd/server/
FROM alpine:3.20
-1
View File
@@ -1,5 +1,4 @@
package main
package main
import (
"log"