diff --git a/Dockerfile b/Dockerfile index ac5b6e5..8dbae21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM python:3.11.6-alpine3.18 RUN addgroup -S td && adduser -S td -G td +USER td WORKDIR /txtdiary @@ -13,6 +14,5 @@ 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" ]