chore: update bin folder

This commit is contained in:
Steven 2023-10-17 21:56:24 +08:00
parent 3225e7c47b
commit 4d1705dca5
3 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ WORKDIR /backend-build
COPY . . COPY . .
COPY --from=frontend /frontend-build/web/dist ./server/dist 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. # Make workspace with above generated files.
FROM alpine:latest AS monolithic FROM alpine:latest AS monolithic

View File

@ -3,7 +3,7 @@ tmp_dir = ".air"
[build] [build]
bin = "./.air/slash --mode dev" 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 delay = 1000
exclude_dir = [".air", "frontend", "build"] exclude_dir = [".air", "frontend", "build"]
exclude_file = [] exclude_file = []