Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce docker image size #36

Merged
merged 2 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:bookworm
FROM golang:1.22-alpine as build

WORKDIR /app

Expand All @@ -9,6 +9,12 @@ RUN go mod download

COPY . /app/

RUN go build -o /app/frigate-notify .
RUN go build -o /frigate-notify .

FROM scratch

WORKDIR /app

COPY --from=build /frigate-notify /app/frigate-notify

ENTRYPOINT [ "/app/frigate-notify" ]
3 changes: 2 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changelog

## [v0.2.5](https://github.com/0x2142/frigate-notify/releases/tag/v0.2.5) - TBD
## [v0.2.5](https://github.com/0x2142/frigate-notify/releases/tag/v0.2.5) - Mar 29 2024

- Added support for alerts via [Pushover](https://frigate-notify.0x2142.com/config/#pushover)
- Reduced container image from ~1Gb to ~11Mb

## [v0.2.4](https://github.com/0x2142/frigate-notify/releases/tag/v0.2.4) - Mar 28 2024

Expand Down
Loading