Fix kiwix-serve command to use shell for glob expansion
The container image has its own entrypoint that conflicts with passing args directly. Use a shell command to expand the glob properly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a243384d22
commit
79cb5a579e
1 changed files with 2 additions and 2 deletions
|
|
@ -21,9 +21,9 @@ spec:
|
|||
# Main kiwix-serve container
|
||||
- name: kiwix-serve
|
||||
image: ghcr.io/kiwix/kiwix-serve:3.8.1
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- --port=80
|
||||
- /data/*.zim # Serves ALL .zim files, regardless of how they were added
|
||||
- "kiwix-serve --port=80 /data/*.zim"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue