Skip to content

Commit fff31b0

Browse files
committed
Ensure we're using the latest node image
1 parent c02e306 commit fff31b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/frontend-build

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ DOCKER_IMAGE=jc21/alpine-nginx-full:node
77

88
# Ensure docker exists
99
if hash docker 2>/dev/null; then
10+
docker pull "${DOCKER_IMAGE}"
1011
cd "${DIR}/.."
1112
echo -e "${BLUE}${CYAN}Building Frontend ...${RESET}"
1213
docker run --rm -e CI=true -v "$(pwd)/frontend:/app/frontend" -w /app/frontend "$DOCKER_IMAGE" sh -c "yarn install && yarn build && yarn build && chown -R $(id -u):$(id -g) /app/frontend"

0 commit comments

Comments
 (0)