Update Dockerfile
This commit is contained in:
@ -34,7 +34,9 @@ COPY package.json .
|
||||
FROM base AS build
|
||||
|
||||
# Install Build tools
|
||||
RUN apt-get -y install buildtools build-base linux-headers udev python && \
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get -y install buildtools build-base linux-headers udev python && \
|
||||
npm install --unsafe-perm --no-update-notifier --only=production && \
|
||||
/tmp/remove_native_gpio.sh && \
|
||||
cp -R node_modules prod_node_modules
|
||||
|
||||
Reference in New Issue
Block a user