Update Dockerfile
This commit is contained in:
@ -37,8 +37,9 @@ FROM base AS build
|
|||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get upgrade -y && \
|
apt-get upgrade -y && \
|
||||||
apt-get -y install build-essential linux-headers-$(uname -r) 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 && \
|
|
||||||
|
RUN /tmp/remove_native_gpio.sh && \
|
||||||
cp -R node_modules prod_node_modules
|
cp -R node_modules prod_node_modules
|
||||||
|
|
||||||
#### Stage RELEASE #####################################################################################################
|
#### Stage RELEASE #####################################################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user