mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-20 22:07:15 +00:00
chore: update bin folder
This commit is contained in:
parent
3225e7c47b
commit
4d1705dca5
@ -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
|
||||||
|
@ -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 = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user