From b8b3db91c7e82e6e568e397a7bcd53b96511cba5 Mon Sep 17 00:00:00 2001 From: bytebraid Date: Sun, 28 Sep 2025 21:05:48 +0100 Subject: [PATCH] Change user --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 166db2a..8274909 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,13 +13,15 @@ COPY src . # Expose the port EXPOSE 11000 +USER nobody + # Custom monitoring script to check container health HEALTHCHECK --interval=3m CMD python /src/docker-healthcheck.py - + # Command to run CMD ["python", "app.py"] # A production setup should use a production server, uvicorn or similar e.g. # # /usr/bin/gunicorn app:app --workers 5 -k uvicorn.workers.UvicornWorker --bind 127.0.0.1:11000 -# \ No newline at end of file +#