diff --git a/Dockerfile b/Dockerfile index 9738b89..8ac24a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,16 +3,13 @@ FROM python:3.10-alpine # Install python-lxml RUN apk add --no-cache --virtual .build-deps \ gcc musl-dev \ - libxslt-dev libxml2-dev &&\ + libxslt-dev libxml2-dev && \ pip install lxml && \ apk del .build-deps && \ apk add --no-cache libxslt libxml2 RUN mkdir -p /src -COPY ./withings_sync /src -COPY ./setup.py /src -COPY ./.VERSION /src -COPY ./README.md /src +COPY . /src RUN cd /src && \ python3 ./setup.py install