Dockerfile fix
This commit is contained in:
parent
3e85b42449
commit
3b3ceb14b4
1 changed files with 5 additions and 4 deletions
|
|
@ -1,10 +1,11 @@
|
||||||
FROM golang:alpine AS builder
|
FROM golang:bullseye AS builder
|
||||||
|
|
||||||
RUN apk add build-base npm
|
|
||||||
COPY . /src
|
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 / && npm i bootswatch && npm i bootstrap-icons
|
||||||
|
|
||||||
|
RUN cd /src/cmd/WatchYourLAN/ && CGO_ENABLED=0 go build -o /WatchYourLAN .
|
||||||
|
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue