|
|
@ -1,4 +1,4 @@ |
|
|
FROM python:3.14.0a3-alpine3.20 |
|
|
|
|
|
|
|
|
FROM python:3.11.4-slim-buster |
|
|
|
|
|
|
|
|
# Add application sources with correct permissions for OpenShift |
|
|
# Add application sources with correct permissions for OpenShift |
|
|
ENV APP_HOME=/app |
|
|
ENV APP_HOME=/app |
|
|
@ -8,7 +8,7 @@ ADD . $APP_HOME |
|
|
USER 0 |
|
|
USER 0 |
|
|
|
|
|
|
|
|
# Install the dependencies |
|
|
# Install the dependencies |
|
|
RUN apk add sqlite |
|
|
|
|
|
|
|
|
RUN apt-get install -y sqlite |
|
|
|
|
|
|
|
|
RUN pip install -U "pip>=19.3.1" && \ |
|
|
RUN pip install -U "pip>=19.3.1" && \ |
|
|
pip install -r $APP_HOME/requirements.txt && \ |
|
|
pip install -r $APP_HOME/requirements.txt && \ |
|
|
|