main
ifiguero 2024-03-09 21:29:50 -03:00
parent 89795fcbeb
commit 8f1a96e073
1 changed files with 2 additions and 5 deletions

View File

@ -8,15 +8,12 @@ RUN git clone https://72d861f982d2a76275d5b8178fe0633b19c43d33@dev.ilab.cl/TDTP/
RUN pip install -r /srv/requirements.txt
RUN sed -i -e '/localhost/d' \
-e '/hz.kursor.cl/d' \
-e '125i "paradero.tdt-dev.ilab.cl",' \
-e '29i "paradero.tdt-dev.ilab.cl",' \
RUN sed -i -e '/localhost/d' -e '/hz.kursor.cl/d' '125i "paradero.tdt-dev.ilab.cl",' -e '29i "paradero.tdt-dev.ilab.cl",' /srv/project/settings.py
# \
# -e '/DEBUG/s/True/False/' \
# -e 's/SECRET_KEY.*$/SECRET_KEY="$SECRET_KEY"/g' \
# -e 's/USE_TZ.*$/USE_TZ=True/g' \
/srv/project/settings.py
RUN chown -R app:app /srv