Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon committed Jun 21, 2024
1 parent 0acf983 commit 5349464
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 @@ -18,7 +18,7 @@ ARG PNGX_TAG_VERSION
# Add the tag to the environment file if its a tagged dev build
RUN set -eux && \
if [ ! -z "${PNGX_TAG_VERSION}" ] && [ "${PNGX_TAG_VERSION}" != "latest" ]; then \
sed -i "s/version: '([0-9\.]+)'/version: '\1 #${PNGX_TAG_VERSION}'/g" /src/src-ui/src/environments/environment.prod.ts; \
sed -i -E "s/version: '([0-9\.]+)'/version: '\1 #${PNGX_TAG_VERSION}'/g" /src/src-ui/src/environments/environment.prod.ts; \
fi

RUN set -eux \
Expand Down

0 comments on commit 5349464

Please sign in to comment.