Skip to content

Commit

Permalink
Fixed static pages not being included in container
Browse files Browse the repository at this point in the history
  • Loading branch information
davidallendj committed Apr 12, 2024
1 parent 9556939 commit 4f5930a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dockers:
extra_files:
- LICENSE.md
- README.md
- pages/
archives:
- format: tar.gz
rlcp: true
Expand All @@ -37,6 +38,7 @@ archives:
files:
- LICENSE.md
- README.md
- pages/
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ 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

# nobody 65534:65534
USER 65534:65534

COPY opaal /opaal/opaal
COPY pages/* /opaal/pages/


CMD [ "/opaal/opaal" ]

Expand Down

0 comments on commit 4f5930a

Please sign in to comment.