We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c02e306 commit fff31b0Copy full SHA for fff31b0
scripts/frontend-build
@@ -7,6 +7,7 @@ DOCKER_IMAGE=jc21/alpine-nginx-full:node
7
8
# Ensure docker exists
9
if hash docker 2>/dev/null; then
10
+ docker pull "${DOCKER_IMAGE}"
11
cd "${DIR}/.."
12
echo -e "${BLUE}❯ ${CYAN}Building Frontend ...${RESET}"
13
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