File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,13 +134,6 @@ COPY phylodating_setup/logwatcher.sh /var/www/phylodating/logwatcher.sh
134134# copy source code
135135COPY alldata /alldata
136136
137- # Capture git version information during build
138- COPY .git /tmp/bblab-git
139- RUN cd /tmp/bblab-git && \
140- git --git-dir=/tmp/bblab-git reset --hard && \
141- git --git-dir=/tmp/bblab-git describe --always --dirty --tags > /BBLAB_SITE_VERSION 2>/dev/null && \
142- rm -rf /tmp/bblab-git
143-
144137RUN chown -R www-data:varwwwusers /alldata /tmp/download
145138
146139USER www-data
@@ -208,3 +201,10 @@ LABEL build_date=$CI_BUILD_DATE \
208201# ignoring this will set it to the standard directory
209202ARG WORKINGDIR=/alldata
210203WORKDIR $WORKINGDIR
204+
205+ # Capture git version information during build
206+ COPY .git /tmp/bblab-git
207+ RUN cd /tmp/bblab-git && \
208+ git --git-dir=/tmp/bblab-git reset --hard && \
209+ git --git-dir=/tmp/bblab-git describe --always --dirty --tags > /BBLAB_SITE_VERSION 2>/dev/null && \
210+ rm -rf /tmp/bblab-git
You can’t perform that action at this time.
0 commit comments