Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
usfalami committed Jan 22, 2025
1 parent 77942c5 commit e8ecc93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ COPY docker/rungnx.sh /usr/local/bin/rungnx.sh
COPY docker/config-env.map /usr/local/bin/config-env.map
RUN chmod +x /usr/local/bin/rungnx.sh
EXPOSE 80
ENTRYPOINT ["rungnx.sh"]
ENTRYPOINT ["rungnx.sh", "/usr/share/nginx/html/environment.remote.json"]
4 changes: 4 additions & 0 deletions docker/rungnx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ echo environment configuration ...
OUT=${1:-"environment.remote.json"}

DIR=$(dirname "$0")
echo "map : $DIR"

MAP=$(< "$DIR/config-env.map")
echo "map : $MAP"

ENTRIES=""
for ENTRY in $MAP; do #separate var with space
VALUE=$(printenv "${ENTRY#*:}")
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inspect-app",
"version": "15.11.0",
"version": "15.12.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down

0 comments on commit e8ecc93

Please sign in to comment.