Skip to content

Commit

Permalink
chore: update bin folder
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Oct 17, 2023
1 parent 3225e7c commit 4d1705d
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 @@ -31,7 +31,7 @@ WORKDIR /backend-build
COPY . .
COPY --from=frontend /frontend-build/web/dist ./server/dist

RUN CGO_ENABLED=0 go build -o slash ./cmd/slash/main.go
RUN CGO_ENABLED=0 go build -o slash ./bin/slash/main.go

# Make workspace with above generated files.
FROM alpine:latest AS monolithic
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/.air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tmp_dir = ".air"

[build]
bin = "./.air/slash --mode dev"
cmd = "go build -o ./.air/slash ./cmd/slash/main.go"
cmd = "go build -o ./.air/slash ./bin/slash/main.go"
delay = 1000
exclude_dir = [".air", "frontend", "build"]
exclude_file = []
Expand Down

0 comments on commit 4d1705d

Please sign in to comment.