From 71b1914933415707a443460d17c2fceb290f57ed Mon Sep 17 00:00:00 2001 From: "wmorak@gmail.com" Date: Wed, 27 Mar 2024 11:05:28 +0000 Subject: [PATCH] feature/frontend -update --- .github/workflows/frontend-ci.yaml | 4 ++++ starter/frontend/Dockerfile | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/frontend-ci.yaml b/.github/workflows/frontend-ci.yaml index c61865a4..3e2acfa0 100644 --- a/.github/workflows/frontend-ci.yaml +++ b/.github/workflows/frontend-ci.yaml @@ -30,10 +30,14 @@ jobs: uses: actions/setup-node@v3 with: node-version: latest + - name: Debug message ECR run: echo ${{ env.ECR_REPOSITORY}} + - name: Print message - ECR + run: echo ${{ env.ECR_REPOSITORY}} + - name: Cache NPM dependencies uses: actions/cache@v2 with: diff --git a/starter/frontend/Dockerfile b/starter/frontend/Dockerfile index e3536549..226f2256 100644 --- a/starter/frontend/Dockerfile +++ b/starter/frontend/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /app # Copy dependdency files COPY package*.json ./ -COPY package*.json /app +COPY package*.json . RUN pwd @@ -19,8 +19,7 @@ RUN ls -lrt RUN npm install RUN npm ci -# Copy code -COPY . . + # Build the app RUN npm run build