Quick and dirty golang thingy that generates passwords on HTTP 8080
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
FROM golang:alpine as build |
|
|
|
WORKDIR /go/src/ranpass |
|
COPY . /go/src/ranpass |
|
RUN CGO_ENABLED=0 go build -o /go/bin/ranpass |
|
|
|
FROM scratch |
|
COPY --from=build /go/bin/ranpass / |
|
|
|
EXPOSE 8080 |
|
ENTRYPOINT ["./ranpass"] |
|
|
|
|