This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 689 B View raw
1ARG TAG=dev 2 3FROM registry.inpt.fr/inp-net/images/go-just:1.24.0-1.39.0 AS builder 4 5# Set the working directory in the container 6WORKDIR /app 7 8# Copy the go.mod and go.sum files first to cache the dependencies 9COPY go.mod go.sum ./ 10 11# Download dependencies 12RUN go mod download 13 14# Copy the Justfile and source code 15COPY Justfile . 16COPY . . 17 18# Build the Go binary using Just 19RUN just build notella ${TAG} 20 21# Stage 2: Create a lightweight image with just the binary 22FROM alpine:3.21 AS runner 23 24# Set the working directory in the container 25WORKDIR /app 26 27# Copy the binary from the builder stage 28COPY --from=builder /app/notella /app/notella 29 30# Command to run the binary 31CMD ["/app/notella"] 32