Skip to content

Commit

Permalink
udpate: switch image to node:14.19.3
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Nov 3, 2023
1 parent 3bbe9fc commit cc56867
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/docker-build-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,3 @@ runs:
sleep 5
done
docker run --network=host materials-designer-test
- name: Log output
shell: bash -l {0}
run: |
echo "Application logs:"
docker logs materials-designer
2 changes: 1 addition & 1 deletion dockerfiles/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BASE_IMAGE=node
# Not using "alpine" to allow node gyp to work with package installations from "https://github.com" directly
ARG IMAGE_TAG=14
ARG IMAGE_TAG=14.19.3
FROM ${BASE_IMAGE}:${IMAGE_TAG}

WORKDIR /opt/app
Expand Down
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

source $NVM_DIR/nvm.sh
nvm use ${NODE_VERSION}

if [[ "${BASE_DIR}" == "" ]]; then
BASE_DIR=.
fi
Expand Down

0 comments on commit cc56867

Please sign in to comment.