Skip to content

Commit

Permalink
fix(version): fix COMMIT and VERSION data location
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Feb 17, 2020
1 parent 96fddd4 commit 3439f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN mkdir -p /var/www/$appname \
EXPOSE 80

RUN COMMIT=`git rev-parse HEAD` && echo "COMMIT=\"${COMMIT}\"" >$appname/version_data.py \
&& VERSION=`git describe --always --tags` && echo "VERSION=\"${VERSION}\"" >>$appname/version_data.py \
&& VERSION=`git describe --always --tags` && echo "VERSION=\"${VERSION}\"" >>$appname/index/version_data.py \
&& python setup.py install

WORKDIR /var/www/$appname
Expand Down

0 comments on commit 3439f6c

Please sign in to comment.