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

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