diff --git a/deploy/docker/Dockerfile b/deploy/docker/Dockerfile index 9d96277..4c73ec3 100644 --- a/deploy/docker/Dockerfile +++ b/deploy/docker/Dockerfile @@ -11,8 +11,10 @@ RUN go mod download # Copy the rest of the application source code COPY . . +RUN go build -o app main.go + # Expose the application's port (change if needed) EXPOSE 5678 # Command to run the application -CMD ["go", "run", "main.go"] +CMD ["./app"]