Skip to content

Commit

Permalink
feature/frontend -update
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Mar 27, 2024
1 parent 63305c1 commit 71b1914
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/frontend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 2 additions & 3 deletions starter/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /app

# Copy dependdency files
COPY package*.json ./
COPY package*.json /app
COPY package*.json .

RUN pwd

Expand All @@ -19,8 +19,7 @@ RUN ls -lrt
RUN npm install
RUN npm ci

# Copy code
COPY . .


# Build the app
RUN npm run build
Expand Down

0 comments on commit 71b1914

Please sign in to comment.