add license to docker

This commit is contained in:
2023-08-03 20:36:35 +02:00
parent 488766159a
commit fc8916ce4b

View File

@@ -16,6 +16,9 @@ RUN go mod download
# Copy the source from the current directory to the Working Directory inside the container # Copy the source from the current directory to the Working Directory inside the container
COPY ./src ./src COPY ./src ./src
# Copy License
COPY LICENSE .
# Build the Go app # Build the Go app
RUN go build -trimpath -ldflags="-s -w" -o bin/argon ./src RUN go build -trimpath -ldflags="-s -w" -o bin/argon ./src