Update Dockerfile

This commit is contained in:
Joshua Schnabel
2020-04-28 23:34:26 +02:00
committed by GitHub
parent ed72a42e28
commit 6da2604ab2

View File

@ -36,7 +36,7 @@ FROM base AS build
# Install Build tools # Install Build tools
RUN apt-get update && \ RUN apt-get update && \
apt-get upgrade -y && \ apt-get upgrade -y && \
apt-get -y install buildtools build-base linux-headers udev python && \ apt-get -y install build-essential linux-headers-$(uname -r) udev python && \
npm install --unsafe-perm --no-update-notifier --only=production && \ npm install --unsafe-perm --no-update-notifier --only=production && \
/tmp/remove_native_gpio.sh && \ /tmp/remove_native_gpio.sh && \
cp -R node_modules prod_node_modules cp -R node_modules prod_node_modules