FROM python:3.11-slim RUN useradd -ms /bin/bash myuser WORKDIR /code COPY . . RUN chown -R myuser:myuser /code USER myuser CMD ["python","app.zip"]