From 4f5930ad562c5930b7b0af88c8a14545cf8f2008 Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Fri, 12 Apr 2024 09:44:29 -0600 Subject: [PATCH] Fixed static pages not being included in container --- .goreleaser.yaml | 2 ++ Dockerfile | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index eeb228b..72956fa 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -23,6 +23,7 @@ dockers: extra_files: - LICENSE.md - README.md + - pages/ archives: - format: tar.gz rlcp: true @@ -37,6 +38,7 @@ archives: files: - LICENSE.md - README.md + - pages/ checksum: name_template: 'checksums.txt' snapshot: diff --git a/Dockerfile b/Dockerfile index 8b4bb3b..03ad18a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM cgr.dev/chainguard/wolfi-base RUN apk add --no-cache tini bash curl -RUN mkdir /opaal +RUN mkdir -p /opaal/pages/static/stylesheets RUN chown 65534:65534 /opaal WORKDIR /opaal @@ -10,6 +10,8 @@ WORKDIR /opaal USER 65534:65534 COPY opaal /opaal/opaal +COPY pages/* /opaal/pages/ + CMD [ "/opaal/opaal" ]