diff --git a/Dockerfile b/Dockerfile index cec0b1b..e7c79ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /app COPY . . RUN go mod download -RUN CGO_ENABLED=0 GOOS=linux go build -o sentinel +RUN CGO_ENABLED=0 GOOS=linux go build -o sentinel ./sentinel FROM alpine:latest diff --git a/README.md b/README.md index be11b1d..6d985ab 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ part_size = 0 # Multipart upload part size (0 for auto) 3. Build the binary: ```bash - go build -o sentinel cmd/backup-system/main.go + go build -o sentinel sentinel/backup-system/main.go ``` 4. Create your config.toml and run: diff --git a/cmd/main.go b/sentinel/main.go similarity index 100% rename from cmd/main.go rename to sentinel/main.go