Create user to match mine

This commit is contained in:
Jake Howard 2022-07-28 18:22:07 +01:00
parent b5391bc918
commit 7132fb743c
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ FROM python:3.10 as production
ENV VIRTUAL_ENV=/venv
RUN useradd website --create-home && mkdir /app $VIRTUAL_ENV && chown -R website /app $VIRTUAL_ENV
RUN useradd website --create-home -u 1000 && mkdir /app $VIRTUAL_ENV && chown -R website /app $VIRTUAL_ENV
WORKDIR /app