From ddd873aca0e6e711b814b7014e6c0c89f689ed83 Mon Sep 17 00:00:00 2001 From: Fedor Borshev Date: Thu, 20 Jun 2024 23:41:30 +0300 Subject: [PATCH] production: fixed running image as root --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index f48fd2c..d6b078c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,5 @@ COPY . /srv/ HEALTHCHECK CMD wget -q -O - --content-on-error http://localhost:8000|grep -qi "not found" +USER nobody CMD python bot.py