Compare commits

..

1 Commits

Author SHA1 Message Date
4febe71cb3 chore(deps): update ghcr.io/renovatebot/renovate docker tag to v39.218.0
Some checks failed
Go / build (pull_request) Successful in -10s
SonarQube Scan / Build and analyze (pull_request) Failing after 11s
2025-03-26 15:25:39 +00:00
2 changed files with 2 additions and 7 deletions

View File

@ -4,7 +4,6 @@ on:
push: push:
tags: tags:
- "*" - "*"
workflow_dispatch:
jobs: jobs:

View File

@ -11,15 +11,11 @@ COPY . .
RUN go build -o gosearch . RUN go build -o gosearch .
# Use a minimal base image for final deployment # Use a minimal base image for final deployment
FROM alpine:3.21 FROM alpine:latest
# Set working directory in the container # Set working directory in the container
WORKDIR / WORKDIR /root/
# Copy the built binary from the builder stage # Copy the built binary from the builder stage
COPY --from=builder /app/gosearch . COPY --from=builder /app/gosearch .
# Add executing User
RUN addgroup gosearch
RUN useradd -g gosearch gosearch
USER gosearch
# Expose the application port # Expose the application port
EXPOSE 3000 EXPOSE 3000
# Run the application # Run the application