From 96414fe1c44482bbd9903e1b25d16debf7746702 Mon Sep 17 00:00:00 2001 From: Igor Date: Fri, 25 Oct 2024 23:03:39 +0200 Subject: [PATCH] Refactor Dockerfile to use Ubuntu as the base image for Linux build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4e7d2ab..7935f67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,8 +18,8 @@ RUN templ generate # Build the application RUN CGO_ENABLED=0 GOOS=linux go build -o ai-tracker -# Use a minimal base image for the final image -FROM alpine:latest +# Use ubuntu as the base image due chrome dependencies +FROM ubuntu:20.04 # Set the working directory inside the container WORKDIR /root/