Fixed static pages not being included in container

This commit is contained in:
David J. Allen 2024-04-12 09:44:29 -06:00
parent 9556939495
commit 4f5930ad56
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
2 changed files with 5 additions and 1 deletions

View file

@ -23,6 +23,7 @@ dockers:
extra_files: extra_files:
- LICENSE.md - LICENSE.md
- README.md - README.md
- pages/
archives: archives:
- format: tar.gz - format: tar.gz
rlcp: true rlcp: true
@ -37,6 +38,7 @@ archives:
files: files:
- LICENSE.md - LICENSE.md
- README.md - README.md
- pages/
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
snapshot: snapshot:

View file

@ -2,7 +2,7 @@ FROM cgr.dev/chainguard/wolfi-base
RUN apk add --no-cache tini bash curl RUN apk add --no-cache tini bash curl
RUN mkdir /opaal RUN mkdir -p /opaal/pages/static/stylesheets
RUN chown 65534:65534 /opaal RUN chown 65534:65534 /opaal
WORKDIR /opaal WORKDIR /opaal
@ -10,6 +10,8 @@ WORKDIR /opaal
USER 65534:65534 USER 65534:65534
COPY opaal /opaal/opaal COPY opaal /opaal/opaal
COPY pages/* /opaal/pages/
CMD [ "/opaal/opaal" ] CMD [ "/opaal/opaal" ]