Compare commits

...

2 Commits

Author SHA1 Message Date
Stavros
b3aac26644 chore: update gitignore 2025-02-02 14:28:12 +02:00
Stavros
c37f66abb9 feat: strip go executable for smaller size 2025-02-02 13:31:35 +02:00
2 changed files with 8 additions and 2 deletions

8
.gitignore vendored
View File

@@ -12,4 +12,10 @@ users.txt
# secret test file
secret.txt
secret_oauth.txt
secret_oauth.txt
# vscode
.vscode
# apple stuff
.DS_Store

View File

@@ -35,7 +35,7 @@ COPY ./cmd ./cmd
COPY ./internal ./internal
COPY --from=site-builder /site/dist ./internal/assets/dist
RUN CGO_ENABLED=0 go build
RUN CGO_ENABLED=0 go build -ldflags "-s -w"
# Runner
FROM alpine:3.21 AS runner