Enhance Docker setup and configuration loading for improved environment management

This commit is contained in:
2025-07-04 15:15:39 +03:00
parent dc097c6fc8
commit c7be7e2cea
5 changed files with 23 additions and 5 deletions

5
cmd/server/Dockerfile Normal file
View File

@@ -0,0 +1,5 @@
FROM alpine:latest
WORKDIR /app
COPY main .
RUN apk add gcompat
CMD ["./main"]

View File

@@ -99,7 +99,6 @@ func main() {
err := initDotenv()
if err != nil {
logMessage("error", "Failed to load .env file: %v", err)
return
}
logMessage("info", "Starting the SIPRO Marketplace Server... 🚀1")
ctx := context.Background()

View File

@@ -0,0 +1,5 @@
FROM alpine:latest
WORKDIR /app
COPY main .
RUN apk add gcompat
CMD ["./main"]