feat: init repo

This commit is contained in:
Tunghsiao Liu 2021-07-05 12:56:01 -04:00
commit f30903280f
No known key found for this signature in database
GPG Key ID: 1EC07B97513A7726
2 changed files with 12 additions and 0 deletions

6
Dockerfile Normal file
View 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
View 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 $*"