Skip to content

Commit

Permalink
Fix docker builds & move cmd dir
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Cameron <[email protected]>
  • Loading branch information
JasonLovesDoggo committed Nov 3, 2024
1 parent 9b788e7 commit 34bdda2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
File renamed without changes.

0 comments on commit 34bdda2

Please sign in to comment.