version id, 2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2024-02-01 09:55:40 +01:00
parent 4dbc156439
commit 85afd501ce
2 changed files with 3 additions and 3 deletions

View File

@ -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