From d92ef37a684017688eff22b21d2dd6588b42dd0e Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Sat, 26 Oct 2024 16:29:15 +1300 Subject: [PATCH] updated dockerfile --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 08a9130c..0855f6d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,8 @@ RUN apk update RUN apk add pkgconfig RUN apk add --virtual build-deps gcc python3-dev musl-dev tesseract-ocr tesseract-ocr-data-eng ffmpeg +RUN adduser --disabled-password --gecos "" python + WORKDIR /app COPY . /app @@ -19,4 +21,7 @@ RUN adduser -D python RUN chown -R python:python /app USER python + +EXPOSE 5000 + ENTRYPOINT ["./entrypoint.sh"]