diff --git a/Dockerfile_Backend b/Dockerfile_Backend index 20d0099..23ef726 100644 --- a/Dockerfile_Backend +++ b/Dockerfile_Backend @@ -14,7 +14,7 @@ RUN go mod download # ENV CGO_ENABLED=1 # Build the Go application -RUN CGO_ENABLED=1 GOOS=linux go build -o /app/main ./cmd/main.go +RUN CGO_ENABLED=1 GOOS=linux go build -o /app/main ./cmd/backend/main.go # Runtime Stage FROM busybox AS runtime @@ -23,4 +23,4 @@ FROM busybox AS runtime COPY --from=build /app/main /app # Set the entry point to execute the binary directly -ENTRYPOINT ["/app"] \ No newline at end of file +ENTRYPOINT ["/app"] diff --git a/Dockerfile_Notifier b/Dockerfile_Notifier index a39c3a5..aa09736 100644 --- a/Dockerfile_Notifier +++ b/Dockerfile_Notifier @@ -14,7 +14,7 @@ RUN go mod download # ENV CGO_ENABLED=1 # Build the Go application -RUN CGO_ENABLED=1 GOOS=linux go build -o /app/main ./cmd/notification.go +RUN CGO_ENABLED=1 GOOS=linux go build -o /app/main ./cmd/notifier/main.go # Runtime Stage FROM busybox AS runtime