Skip to content

Commit 8ff3a37

Browse files
fix: restore VOLUME declarations for Lua and HTML customization
Address Copilot review: keep volumes for user customization even though documentation examples were simplified
1 parent a061e73 commit 8ff3a37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ COPY --from=build /go/src/cs-spoa-bouncer/templates/ /var/lib/crowdsec-haproxy-s
4646
COPY --from=build /run/crowdsec-spoa/ /run/crowdsec-spoa/
4747
COPY --from=build /var/log/crowdsec-spoa/ /var/log/crowdsec-spoa/
4848

49+
# Declare volumes for customizable content
50+
VOLUME /usr/lib/crowdsec-haproxy-spoa-bouncer/lua/
51+
VOLUME /var/lib/crowdsec-haproxy-spoa-bouncer/html/
52+
4953
EXPOSE 9000 6060
5054

5155
ENTRYPOINT ["/crowdsec-spoa-bouncer"]

0 commit comments

Comments
 (0)