Files
paralus/Dockerfile
Nirav Parikh 1b7a9a1fa3 changes to view auditlogs by project role users (#247)
feat: changes to view audit logs by project and cluster role users
---------

Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
2023-09-21 11:34:56 +05:30

24 lines
389 B
Docker

FROM golang:1.20 as build
LABEL description="Build container"
ENV CGO_ENABLED 0
WORKDIR /build
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN make build
FROM alpine:latest as runtime
LABEL description="Run container"
WORKDIR /usr/bin
COPY --from=build /build/paralus /usr/bin/paralus
# RPC port
EXPOSE 10000
# RPC relay peering port
EXPOSE 10001
# HTTP port
EXPOSE 11000