This commit is contained in:
Joachim Jablon
2021-09-25 09:50:58 +02:00
parent 38b2cf6c65
commit ebcebf7ed6
8 changed files with 272 additions and 84 deletions

View File

@@ -1,14 +1,17 @@
FROM python:3-slim
WORKDIR /tool
WORKDIR /workdir
COPY tool/requirements.txt /tool/
RUN set -eux; \
apt-get update; \
apt-get install -y git; \
rm -rf /var/lib/apt/lists/*; \
pip install ghapi diff-cover
rm -rf /var/lib/apt/lists/*
COPY entrypoint.py /entrypoint.py
COPY add-to-wiki.sh /add-to-wiki.sh
RUN pip install -r /tool/requirements.txt
RUN ls /tool
COPY tool /tool
RUN ls /tool
CMD [ "/entrypoint.py" ]
CMD [ "/tool/entrypoint.py" ]