Matt Alhonte
06/02/2022, 11:54 PMroot
?)Kevin Kho
Matt Alhonte
06/03/2022, 12:06 AMsu <user>
? (I feel like I tried doing that with the Bash Task before and it not quite working though?)Kevin Kho
Matt Alhonte
06/03/2022, 12:09 AMECSAgent
Kevin Kho
Anna Geller
FROM prefecthq/prefect:latest
COPY requirements.txt .
RUN pip install -r requirements.txt
USER 1000:1000
Matt Alhonte
06/03/2022, 12:58 AMAnna Geller
Matt Alhonte
06/03/2022, 1:07 AMUSER <number>
in the Dockerfile, but it still winds up creating certain files (generated by some internal code) in a way that makes them only usable by root
sh
for the startup of the container using that image.Anna Geller
USER <number>
in the Dockerfile doesn't include the user group - can you try adding both user and user group? e.g. USER 1000:1000