🐳 updated dockerfile
This commit is contained in:
parent
006fe93d08
commit
cb25a3b35a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ COPY . .
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
|
||||||
# Build the Go app - change directory to 'cmd' where main.go resides
|
# Build the Go app - change directory to 'cmd' where main.go resides
|
||||||
RUN go build -o /app/hello
|
RUN go build -o /app/hello ./cmd
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
|
|
Reference in a new issue