We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f7cb17 commit 9c5ea2bCopy full SHA for 9c5ea2b
docker/dockerfiles/Dockerfile.backend
@@ -77,6 +77,15 @@ ENV PATH=/root/.local/bin:$PATH
77
# activate the virtualenv:
78
RUN . "${VIRTUAL_ENV}/bin/activate"
79
80
+ARG VERSION
81
+ARG REVISION
82
+
83
+ENV VERSION=${VERSION}
84
+ENV REVISION=${REVISION}
85
86
+RUN touch /var/www/seismic/.version && \
87
+ echo "$VERSION+$(echo ${REVISION} | cut -c 1-7)" > /var/www/seismic/.version
88
89
ENTRYPOINT ["/init"]
90
91
EXPOSE 80
0 commit comments