Commit b579cd52 authored by Vidjil Team's avatar Vidjil Team Committed by Mathieu Giraud

vidjil-server/Dockerfile: refer to server/Makefile to download web2py

Prevents duplicating code and allows to use same web2py version.
Closes #3605.
by @mikael-s and @magiraud
parent eb9c7d14
Pipeline #65771 failed with stages
in 3 minutes and 12 seconds
......@@ -20,7 +20,7 @@ run apt-get update ; apt-get install --no-install-recommends --no-install-sugges
arg git_branch=dev
arg remote_repo=
run cd /usr/share/ && git config --global http.sslVerify false && git clone -b $git_branch $remote_repo
run cd /usr/share/vidjil/server && wget --no-check-certificate && unzip && unlink
run cd /usr/share/vidjil/server && make download_web2py && unzip && unlink
add ./scripts/ /opt/install_scripts/
copy ./conf/ /opt/vidjil_conf/
......@@ -3,8 +3,10 @@ WEB2PY_VERSION=2.17.2
install: install_web2py
install_web2py: download_web2py
mv web2py/handlers/ web2py/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment