mirror of
https://github.com/signcl/docsearch-scraper-action.git
synced 2024-11-10 09:39:12 +08:00
feat: init repo
This commit is contained in:
commit
f30903280f
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM algolia/docsearch-scraper:latest
|
||||
LABEL maintainer="t@sparanoid.com"
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
6
entrypoint.sh
Executable file
6
entrypoint.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions
|
||||
|
||||
# `$*` expands the `args` supplied in an `array` individually
|
||||
# or splits `args` in a string separated by whitespace.
|
||||
sh -c "pipenv run python -m src.index $*"
|
Loading…
Reference in New Issue
Block a user