diff --git a/Dockerfile b/Dockerfile index a3582b0..7edd6d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM golang:1.20-alpine WORKDIR /usr/src/app -# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change -COPY go.mod index-inlined-minified.html main.go ./ +COPY go.mod index.html main.go ./ +ADD assets ./assets/ RUN go mod download && go mod verify RUN go build -v -o /usr/local/bin/app ./... diff --git a/web/master.css b/assets/master.css similarity index 100% rename from web/master.css rename to assets/master.css diff --git a/web/res/font/Mont-Heavy.otf b/assets/res/font/Mont-Heavy.otf similarity index 100% rename from web/res/font/Mont-Heavy.otf rename to assets/res/font/Mont-Heavy.otf diff --git a/web/res/svg/cloud.svg b/assets/res/svg/cloud.svg similarity index 100% rename from web/res/svg/cloud.svg rename to assets/res/svg/cloud.svg diff --git a/web/res/svg/error-page-overlay.svg b/assets/res/svg/error-page-overlay.svg similarity index 100% rename from web/res/svg/error-page-overlay.svg rename to assets/res/svg/error-page-overlay.svg diff --git a/web/res/svg/rocks.svg b/assets/res/svg/rocks.svg similarity index 100% rename from web/res/svg/rocks.svg rename to assets/res/svg/rocks.svg diff --git a/index-inlined-minified.html b/index-inlined-minified.html deleted file mode 100644 index 1491f90..0000000 --- a/index-inlined-minified.html +++ /dev/null @@ -1 +0,0 @@ -