Skip to content

Commit

Permalink
Fix App Health Check 🩺
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Douglas committed Dec 20, 2023
1 parent 6e5d53a commit ef3ac28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CI-CD-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ jobs:
- name: Build Production Image
run: |
IMAGE_NAME=ghcr.io/hackforla/homeuniteus/app:latest
docker build --build-arg VITE_HUU_API_BASE_URL=http://127.0.0.1:8080/api --build-arg ENV_KEY=${{ secrets.HUU_EC2_SSH_KEY }} --target production --tag $IMAGE_NAME ./app
ENCODED_KEY=$(echo -n "${{ secrets.HUU_EC2_SSH_KEY }}" | base64)
docker build --build-arg VITE_HUU_API_BASE_URL=http://127.0.0.1:8080/api --build-arg ENV_KEY=$ENCODED_KEY --target production --tag $IMAGE_NAME ./app
docker push $IMAGE_NAME
test-api-mock:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN npm run build
# Testing image
FROM cypress/base as development
WORKDIR /app
RUN apt-get update && apt-get install -y curl

# Copy built assets and all source files from builder
COPY --from=builder /app .
Expand Down

0 comments on commit ef3ac28

Please sign in to comment.