Remove chown in CMD line

This commit is contained in:
Mark Veidemanis 2022-08-03 07:20:30 +01:00
parent 36452f836c
commit ba99642060
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -18,4 +18,4 @@ WORKDIR /code
COPY requirements.prod.txt /code/ COPY requirements.prod.txt /code/
RUN python -m venv /venv RUN python -m venv /venv
RUN . /venv/bin/activate && pip install -r requirements.prod.txt RUN . /venv/bin/activate && pip install -r requirements.prod.txt
CMD . /venv/bin/activate && chown root:pathogen /code && chmod 0775 /code && uwsgi --ini /conf/uwsgi.ini CMD . /venv/bin/activate && uwsgi --ini /conf/uwsgi.ini