diff --git a/Dockerfile.template b/Dockerfile.template index 199c62d..ce543e0 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,10 +1,5 @@ -# base-image for python on any machine using a template variable, # see more about dockerfile templates here: https://www.balena.io/docs/learn/develop/dockerfile/ -FROM balenalib/%%BALENA_ARCH%%-python:3-run - -# use `install_packages` if you need to install dependencies, -# for instance if you need git, just uncomment the line below. -# RUN install_packages git +FROM python:3.13-slim-bookworm # Set our working directory WORKDIR /usr/src/app @@ -18,8 +13,5 @@ RUN pip install -r requirements.txt # This will copy all files in our root to the working directory in the container COPY . ./ -# Enable udevd so that plugged dynamic hardware devices show up in our container. -# ENV UDEV=1 - # main.py will run when container starts up on the device CMD ["python","-u","src/app.py"]