From a4e43522db21d46bdeed0060eaf7782a1fd7b3ee Mon Sep 17 00:00:00 2001 From: Shane Frischkorn Date: Wed, 12 Jan 2022 14:56:08 +1000 Subject: [PATCH] Fixing permission issues --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87c65e1..720e5f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ FROM python:3.8 -ADD converter.py /app/ - RUN pip install ofxparse RUN pip install watchdog +RUN useradd --uid 99 --gid 100 hsbc +USER hsbc + +ADD converter.py /app/ + CMD [ "python", "./app/converter.py" ] \ No newline at end of file