Update Dockerfile

This commit is contained in:
Max Winterstein
2021-07-08 09:57:52 +02:00
parent ab4e9968e3
commit 756b3da436

View File

@@ -4,7 +4,7 @@ FROM $BUILD_FROM
ARG VERSION=0.2.20
RUN apk add --no-cache nodejs npm make g++ sqlite
RUN apk add vips-dev --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
# add source and unpack
ADD "https://github.com/matijse/eufy-ha-mqtt-bridge/archive/${VERSION}.tar.gz" /src.tar.gz
RUN mkdir /app && tar xvfz /src.tar.gz -C /app --strip-components=1
@@ -15,4 +15,4 @@ RUN npm install && npm install -g json2yaml && echo ${VERSION} > /version
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]
CMD [ "/run.sh" ]