FROM python:alpine3.21 WORKDIR /compiler ADD src /compiler/src ADD template /compiler/template ADD requirements.txt . RUN pip install -r requirements.txt RUN addgroup --g 1000 groupcontainer RUN adduser -u 1000 -G groupcontainer -h /home/containeruser -D containeruser USER containeruser WORKDIR /compiler/data WORKDIR /compiler ENTRYPOINT [ "python3" ]