From 3b3ceb14b47430ac966071ad00c37d246ae48e49 Mon Sep 17 00:00:00 2001 From: aceberg <1502200+aceberg@users.noreply.github.com> Date: Sat, 7 Jan 2023 03:49:46 +0700 Subject: [PATCH] Dockerfile fix --- Dockerfile.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile.css b/Dockerfile.css index 5bcdc39..37ab2e5 100644 --- a/Dockerfile.css +++ b/Dockerfile.css @@ -1,10 +1,11 @@ -FROM golang:alpine AS builder +FROM golang:bullseye AS builder -RUN apk add build-base npm COPY . /src -RUN cd /src/cmd/WatchYourLAN/ && CGO_ENABLED=0 go build -o /WatchYourLAN . + +RUN apt update && apt install npm RUN cd / && npm i bootswatch && npm i bootstrap-icons - + +RUN cd /src/cmd/WatchYourLAN/ && CGO_ENABLED=0 go build -o /WatchYourLAN . FROM alpine