FROM python:3.14.0a3-alpine3.20 # Add application sources with correct permissions for OpenShift ENV APP_HOME=/app RUN mkdir -p $APP_HOME WORKDIR $APP_HOME USER 0 ADD . $APP_HOME RUN chown -R 1000770000:0 ./ USER 1000770000 # Install the dependencies RUN apk add sqlite RUN pip install -U "pip>=19.3.1" && \ pip install -r requirements.txt && \ # python manage.py collectstatic --noinput && \ python manage.py migrate EXPOSE 8080 # Run the application CMD python manage.py runserver 0.0.0.0:8080