Dockerfile fix

This commit is contained in:
aceberg 2023-01-07 03:53:20 +07:00
parent 3b3ceb14b4
commit dd863fbf2c

View file

@ -2,7 +2,7 @@ FROM golang:bullseye AS builder
COPY . /src
RUN apt update && apt install npm
RUN apt update && apt install -y npm
RUN cd / && npm i bootswatch && npm i bootstrap-icons
RUN cd /src/cmd/WatchYourLAN/ && CGO_ENABLED=0 go build -o /WatchYourLAN .