mirror of
https://github.com/docker/awesome-compose.git
synced 2026-11-16 00:01:12 +01:00
update readme.md for all samples
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
1 parent
9c829ac4ba
commit
48341239de
30 files changed
+841
-102
No files matched your search
@@ -0,0 +1,11 @@
|
||||
FROM golang:1.13 AS build
|
||||
|
||||
WORKDIR /compose/hello-docker
|
||||
COPY main.go main.go
|
||||
RUN CGO_ENABLED=0 go build -o backend main.go
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /compose/hello-docker/backend /usr/local/bin/backend
|
||||
CMD ["/usr/local/bin/backend"]
|
||||
|
||||
|
||||
Reference in new issue
Block a user