File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 11# base-image for node on any machine using a template variable,
22# see more about dockerfile templates here: https://www.balena.io/docs/learn/develop/dockerfile/#dockerfile-templates
33# and about balena base images here: https://www.balena.io/docs/reference/base-images/base-images/
4- FROM balenalib/%%BALENA_MACHINE_NAME %%-node:14-buster-run
4+ FROM balenalib/%%BALENA_ARCH %%-node:14-buster-run
55
66# use `install_packages` if you need to install dependencies,
77# for instance if you need git, just uncomment the line below.
@@ -20,8 +20,5 @@ RUN JOBS=MAX npm install --production --unsafe-perm && npm cache verify && rm -r
2020# This will copy all files in our root to the working directory in the container
2121COPY . ./
2222
23- # Enable udevd so that plugged dynamic hardware devices show up in our container.
24- ENV UDEV=1
25-
2623# server.js will run when container starts up on the device
2724CMD ["npm", "start"]
You can’t perform that action at this time.
0 commit comments