Docker prod file with app user
This commit is contained in:
parent
103733cee5
commit
75e4023521
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,8 @@ FROM python:3.11-slim
|
||||||
RUN mkdir -p /home/app
|
RUN mkdir -p /home/app
|
||||||
|
|
||||||
# create the app user
|
# create the app user
|
||||||
RUN addgroup --system app && adduser --system --group app
|
# RUN addgroup --system app && adduser --system --group app
|
||||||
|
RUN addgroup --system app && adduser --system app
|
||||||
|
|
||||||
# create the appropriate directories
|
# create the appropriate directories
|
||||||
ENV HOME=/home/app
|
ENV HOME=/home/app
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue