From 1967945ff7550d706295a1a46f50393959852773 Mon Sep 17 00:00:00 2001 From: shamel-hussain Date: Tue, 28 Feb 2023 12:08:32 +0100 Subject: [PATCH] RED-5718: Revert user changes to allow using a random id --- Dockerfile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56fa5f7..fdae322 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,16 +21,6 @@ RUN python3 -m pip install -e . RUN python3 -m pip install -e incl/pyinfra RUN python3 -m pip install -e incl/pdf2image -# User for the process to run as -RUN groupadd --gid 1001 non-root \ - && useradd --uid 1001 --gid 1001 -m non-root - -COPY --chown=1001:1001 ./src/serve.py ./src/serve.py -RUN chown -R 1001:1001 ./image_prediction ./image_prediction -RUN chown -R 1001:1001 ./config.yaml ./config.yaml -RUN chown -R 1001:1001 ./banner.txt ./banner.txt -RUN chown -R 1001:1001 ./incl ./incl - EXPOSE 5000 EXPOSE 8080