diff --git a/example/hello-world/docker/http/Dockerfile b/example/hello-world/docker/http/Dockerfile index b9c81965a..55ddef638 100644 --- a/example/hello-world/docker/http/Dockerfile +++ b/example/hello-world/docker/http/Dockerfile @@ -6,5 +6,5 @@ RUN go build -o hello-world-http http/main.go FROM alpine RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 RUN apk update && apk add ca-certificates -COPY --from=build /cache/hello-world /app/ +COPY --from=build /cache/hello-world-http /app/ ENTRYPOINT /app/hello-world-http diff --git a/templates/docker/dockerfile_http.tmpl b/templates/docker/dockerfile_http.tmpl index 3a08f28a1..cab46d53b 100644 --- a/templates/docker/dockerfile_http.tmpl +++ b/templates/docker/dockerfile_http.tmpl @@ -6,5 +6,5 @@ RUN go build -o {{ .Name }}-http http/main.go FROM alpine RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 RUN apk update && apk add ca-certificates -COPY --from=build /cache/{{ .Name }} /app/ +COPY --from=build /cache/{{ .Name }}-http /app/ ENTRYPOINT /app/{{ .Name }}-http