diff --git a/Dockerfile b/Dockerfile index 07bb5b9..e0525ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ -# Example Dockerfile for amd64 ARG BASE_IMAGE=alpine:latest FROM ${BASE_IMAGE} @@ -14,14 +13,16 @@ LABEL org.opencontainers.image.title="${APP_NAME}" ENV TZ=${TZ} ENV USER=${APP_USER} -RUN apk add --no-cache tzdata ca-certificates +RUN apt-get update && \ + apt-get install wget && \ + wget https://github.com/oschonrock/hibp/releases/download/v${BUILD_TAG}/hibp_${BUILD_TAG}-1_amd64.deb -o hibp_${BUILD_TAG}_amd64.deb && \ + apt-get install ./hibp_${BUILD_TAG}-1_amd64.deb && \ + rm -f hibp_${BUILD_TAG}-1_amd64.deb WORKDIR /app -COPY ./config /app/config -COPY ./data /app/data RUN adduser -D ${APP_USER} && chown -R ${APP_USER}:${APP_USER} /app USER ${APP_USER} -CMD ["sh"] \ No newline at end of file +CMD ["bash"] \ No newline at end of file