Dockerfile fix
This commit is contained in:
parent
8f1040ef42
commit
f93d7f2e7a
@ -10,7 +10,7 @@ RUN go mod download
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build the Go application
|
# Build the Go application
|
||||||
RUN go build -o main .
|
RUN go build -o main ./...
|
||||||
|
|
||||||
# Stage 2: Create a minimal production image
|
# Stage 2: Create a minimal production image
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user