mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-20 14:01:24 +00:00
chore: update bin folder
This commit is contained in:
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…
x
Reference in New Issue
Block a user