version id, 2
This commit is contained in:
parent
4dbc156439
commit
85afd501ce
@ -12,8 +12,8 @@ WORKDIR ${APP_DIR}
|
||||
RUN \
|
||||
apk add --no-cache build-base libpq-dev && \
|
||||
pip install -r requirements.txt && \
|
||||
sed -i -e 's/VERSION_ID1/'$VERSION_ID1'/' ${APP_DIR}/templates/index.html && \
|
||||
sed -i -e 's/VERSION_ID2/'$VERSION_ID2'/' ${APP_DIR}/templates/index.html
|
||||
if [ "${VERSION_ID2}" != "" ]; then VERSION_ID=${VERSION_ID2}; else VERSION_ID=${VERSION_ID1}; fi && \
|
||||
sed -i -e 's/VERSION_ID/'$VERSION_ID'/' ${APP_DIR}/templates/index.html
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
@ -177,7 +177,7 @@ function updateTotalNutrition() {
|
||||
<nav id="navbar">
|
||||
<h1>Elo's Rezept Rechner</h1>
|
||||
<ul>
|
||||
<li class="versionid">VERSION_ID1 - VERSION_ID2</li>
|
||||
<li class="versionid">VERSION_ID</li>
|
||||
<li><a href="/" class="active">Rechner</a></li>
|
||||
<li><a href="/nutrition">Neue Lebensmittel</a></li>
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user