first version, prints request URI, time, counts requests, can show env variables, and files

This commit is contained in:
Łukasz Budnik
2020-11-13 15:00:37 +01:00
parent 088f345c70
commit fce263c463
2 changed files with 76 additions and 0 deletions

16
Docker Normal file
View File

@@ -0,0 +1,16 @@
FROM golang:1.13.5-alpine3.10 as builder
MAINTAINER Łukasz Budnik lukasz.budnik@gmail.com
# build yosoy
RUN apk add git
RUN git clone https://github.com/lukaszbudnik/yosoy.git
RUN cd /go/yosoy && go build
FROM alpine:3.10
COPY --from=builder /go/yosoy/yosoy /bin
# register entrypoint
ENTRYPOINT ["yosoy"]
EXPOSE 80