From 1ea98eae5b9533f9ec4f64571b369d587d1bcd5c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 21 Dec 2023 18:58:52 +0100 Subject: [PATCH] Revert "fix(docker): use non-root user earlier" This reverts commit 70f909f8c553bbeebb28313a72a2d921424509d5. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8dbae21..ac5b6e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,6 @@ FROM python:3.11.6-alpine3.18 RUN addgroup -S td && adduser -S td -G td -USER td WORKDIR /txtdiary @@ -14,5 +13,6 @@ RUN pip install pyuwsgi -r requirements.txt COPY ./src ./app +USER td CMD [ "uwsgi", "--http", "0.0.0.0:80", "-M", "-w" ,"app.app", "--callable", "app" ]