Skip to content

Commit

Permalink
fix: fix dockerfile
Browse files Browse the repository at this point in the history
Trying to replicate state where the Github action worked.
  • Loading branch information
Joona Oikarinen committed Sep 27, 2021
1 parent 3530052 commit 488d94d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM python:3.9-slim-buster

COPY setup.py /
COPY flaky_tests_detection /flaky_tests_detection
COPY setup.py /setup.py
COPY flaky_tests_detection/check_flakes.py /check_flakes.py
COPY entrypoint.sh /entrypoint.sh
COPY README.md /
COPY Makefile /Makefile
COPY README.md /README.md

RUN apt update && apt -y install make
RUN make install
RUN pip install -e .

ENTRYPOINT ["/entrypoint.sh"]
5 changes: 1 addition & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh

. .venv/bin/activate
flaky "$*"
deactivate
python /check_flakes.py $*

0 comments on commit 488d94d

Please sign in to comment.