diff --git a/Dockerfile b/Dockerfile index b293983..db5083d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,13 @@ LABEL maintainer="Robert Kaussow " \ org.label-schema.vendor="Robert Kaussow" \ org.label-schema.schema-version="1.0" -ADD dist/ansible_doctor*.whl /ansible_doctor.whl +ADD dist/ansible_doctor-*.whl / RUN \ - apk update --no-cache \ + apk update --no-cache && \ rm -rf /var/cache/apk/* && \ pip install --upgrade --no-cache-dir pip && \ - pip install --no-cache-dir ansible_doctor.whl && \ + pip install --no-cache-dir --find-links=. ansible-doctor && \ rm -f ansible_doctor.whl && \ rm -rf /root/.cache/