From b27bfe9d2cde1702fa3b850a8efdc501f1048632 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Fri, 30 Dec 2022 16:53:37 +0000 Subject: [PATCH] made docker image smaller --- Dockerfile | 2 +- todo.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd24cd0..3b50566 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ COPY . ./ RUN GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o /gowatch -FROM golang:1.19-alpine AS base +FROM alpine AS base WORKDIR /app diff --git a/todo.md b/todo.md index 81f7377..78ff336 100644 --- a/todo.md +++ b/todo.md @@ -3,7 +3,8 @@ - run/fix staticcheck - add browserless support ? - show startup warnings on page? -- try to make docker image smaller +- ~~try to make docker image smaller~~ + - test if things still work - add compose templates for: - sqlite - sqlite+apprise