From fa410cf28939086d8203d9b539cc4bd637788f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=B6tze?= Date: Tue, 17 Sep 2024 13:12:18 +0200 Subject: [PATCH] Release dpt-prefect-cleanup-runtime v0.0.5 Fix permissions for OpenShift --- Dockerfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be070e1..fb2a03e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,15 @@ FROM prefecthq/prefect:3.0.1-python3.11 RUN pip install s3fs prefect-dask # base Python dependencies -RUN pip install python-dotenv typesense \ No newline at end of file +RUN pip install python-dotenv typesense + +RUN mkdir /opt/dptweb_padding_dir + +RUN mkdir /.prefect +RUN chgrp -R 0 /.prefect && \ + chmod -R g=u /.prefect + +RUN chgrp -R 0 /opt && \ + chmod -R g=u /opt + +USER 1001 \ No newline at end of file