Set permissions before running UWSGI
This commit is contained in:
parent
6a9faa7679
commit
36452f836c
|
@ -18,4 +18,4 @@ WORKDIR /code
|
|||
COPY requirements.prod.txt /code/
|
||||
RUN python -m venv /venv
|
||||
RUN . /venv/bin/activate && pip install -r requirements.prod.txt
|
||||
CMD . /venv/bin/activate && uwsgi --ini /conf/uwsgi.ini
|
||||
CMD . /venv/bin/activate && chown root:pathogen /code && chmod 0775 /code && uwsgi --ini /conf/uwsgi.ini
|
Loading…
Reference in New Issue