Sign inSign up

mfaltys/coffeebot

By mfaltys

Updated almost 11 years ago

Hello world for statically linked go binaries

Image
0

1.2K

mfaltys/coffeebot repository overview

Dockerfile

FROM scratch

COPY /coffeebot /coffeebot
EXPOSE 8080
CMD ["/coffeebot"]

Run command

$ docker run -dp 8080:8080 mfaltys/coffeebot"

This will host the webserver on port 8080 Valid requests are:

localhost:8080/
localhost:8080/coffee/<any text here>

Tag summary

Content type

Image

Digest

sha256:5e56b858a

Size

1.5 MB

Last updated

almost 11 years ago

docker pull mfaltys/coffeebot