chore: update bin folder

prod
Steven 11 months ago
parent 3225e7c47b
commit 4d1705dca5

@ -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

@ -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 = []

Loading…
Cancel
Save