File tree Expand file tree Collapse file tree 4 files changed +9
-15
lines changed
Expand file tree Collapse file tree 4 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 11type : sw.application
2- version : ' 2.0 .0'
2+ version : ' 2.2 .0'
Original file line number Diff line number Diff line change 1- # base-image for node on any machine using a template variable,
2- # see more about dockerfile templates here: http://docs.balena.io/deployment/docker-templates/
3- # and about balena base images here: http://docs.balena.io/reference/base-images/base-images/
4- # Note the node:slim image doesn't have node-gyp
5- FROM balenalib/%%BALENA_ARCH%%-debian-node:18-bookworm
1+ FROM node:22-bookworm-slim
62
73# use apt-get if you need to install dependencies,
84# for instance if you need ALSA sound utils, just uncomment the lines below.
Original file line number Diff line number Diff line change 1- # base-image for python on any machine using a template variable,
2- # see more about dockerfile templates here: https://www.balena.io/docs/learn/develop/dockerfile/
3- FROM balenalib/%%BALENA_ARCH%%-debian-python:3-bookworm
1+ FROM python:3-bookworm
42
5- # use `install_packages` if you need to install dependencies,
6- # for instance if you need git, just uncomment the line below.
7- # RUN install_packages git
3+ # use apt-get if you need to install dependencies,
4+ # for instance if you need git, just uncomment the lines below.
5+ #RUN apt-get update && apt-get install \
6+ # git && \
7+ # apt-get clean && rm -rf /var/lib/apt/lists/*
88
99# Set our working directory
1010WORKDIR /usr/src/app
@@ -18,8 +18,5 @@ RUN pip install -r requirements.txt
1818# This will copy all files in our root to the working directory in the container
1919COPY . ./
2020
21- # Enable udevd so that plugged dynamic hardware devices show up in our container.
22- # ENV UDEV=1
23-
2421# main.py will run when container starts up on the device
2522CMD ["python","-u","src/app.py"]
Original file line number Diff line number Diff line change 1+ type : generic
You can’t perform that action at this time.
0 commit comments