|
|
@ -3,8 +3,8 @@ FROM python:3.11.4-slim-buster |
|
|
# Add application sources with correct permissions for OpenShift |
|
|
# Add application sources with correct permissions for OpenShift |
|
|
USER 0 |
|
|
USER 0 |
|
|
ADD . . |
|
|
ADD . . |
|
|
RUN chown -R 1001:0 ./ |
|
|
|
|
|
USER 1001 |
|
|
|
|
|
|
|
|
#RUN chown -R 1001:0 ./ |
|
|
|
|
|
#USER 1001 |
|
|
|
|
|
|
|
|
# Install the dependencies |
|
|
# Install the dependencies |
|
|
RUN pip install -U "pip>=19.3.1" && \ |
|
|
RUN pip install -U "pip>=19.3.1" && \ |
|
|
|