Commit d1735647 authored by Matthieu Muffato's avatar Matthieu Muffato Committed by ens-bwalts
Browse files

Use the $DEPLOY_LOCATION parameter

parent b4212188
......@@ -24,8 +24,8 @@ RUN buildDeps=' \
&& apt-get update -y \
&& apt-get install -y $buildDeps \
&& rm -rf /var/lib/apt/lists/* \
&& cpanm --installdeps --with-recommends /repo/guiHive \
&& cd /repo/guiHive/server && go build \
&& cpanm --installdeps --with-recommends $DEPLOY_LOCATION \
&& cd $DEPLOY_LOCATION/server && go build \
&& apt-get purge -y --auto-remove $buildDeps
EXPOSE 8080
......
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