rename rate/ to Foxnouns.RateLimiter/ for consistency
This commit is contained in:
parent
d1faf1ddee
commit
6fe816404f
8 changed files with 0 additions and 0 deletions
16
Foxnouns.RateLimiter/Dockerfile
Normal file
16
Foxnouns.RateLimiter/Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
FROM docker.io/golang:latest AS builder
|
||||
WORKDIR /build
|
||||
EXPOSE 5003
|
||||
|
||||
COPY . ./
|
||||
RUN go mod download -x
|
||||
ENV CGO_ENABLED 0
|
||||
RUN go build -v -o rate
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder /build/rate rate
|
||||
|
||||
CMD ["/app/rate"]
|
Loading…
Add table
Add a link
Reference in a new issue