Dockerfile fix
This commit is contained in:
parent
dd863fbf2c
commit
c695b86199
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,8 @@ FROM golang:bullseye AS builder
|
||||||
COPY . /src
|
COPY . /src
|
||||||
|
|
||||||
RUN apt update && apt install -y npm
|
RUN apt update && apt install -y npm
|
||||||
RUN cd / && npm i bootswatch && npm i bootstrap-icons
|
RUN cd / && npm i bootswatch > /dev/null 2>&1 \
|
||||||
|
&& npm i bootstrap-icons > /dev/null 2>&1
|
||||||
|
|
||||||
RUN cd /src/cmd/WatchYourLAN/ && CGO_ENABLED=0 go build -o /WatchYourLAN .
|
RUN cd /src/cmd/WatchYourLAN/ && CGO_ENABLED=0 go build -o /WatchYourLAN .
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue