FROM python:3.14-slim-bookworm

LABEL parent-images=python314

# Run updates
RUN apt-get -y update \
  && apt-get -y upgrade \
  && apt-get -y install curl procps \
  && apt-get -y clean \
  && rm -rf /var/lib/apt/lists/*

# Add worker user 
RUN adduser -u 1010 --disabled-password --comment "" worker

# Run container as the worker user
USER worker

