mirror of
https://github.com/Dvorinka/bizoni.git
synced 2026-10-28 07:41:18 +00:00
fix(backend): simplify Go build command in Dockerfile
Change build command from `go build -o server ./main.go` to `go build -o server .` to build from the current directory instead of specifying main.go explicitly.
This commit is contained in:
1 parent
225da9253c
commit
fc4bb11c41
1 file changed
+1
-1
+1
-1
@@ -1,7 +1,7 @@
|
||||
FROM golang:1.22-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN go build -o server ./main.go
|
||||
RUN go build -o server .
|
||||
|
||||
FROM alpine:3.20
|
||||
WORKDIR /app
|
||||
|
||||
Reference in new issue
Block a user