Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DEV270201 committed Jul 30, 2024
1 parent 337b725 commit f7abba6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
- name: checking file creation
run: |
ls -la
ls -la .
ls -la ..
pwd
cat .env
- name: Checkout code
Expand Down Expand Up @@ -67,7 +66,8 @@ jobs:
IMAGE_TAG: latest
run: |
echo "Building docker image......"
docker build . -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG --call
ls -la
docker build . -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "Pushing docker image to AWS ECR......"
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "Done......."
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN npm ci
#copying the entire codebase
COPY . .

COPY .env .
COPY myfile.txt .

#exposing port of the container
EXPOSE 3000
Expand Down

0 comments on commit f7abba6

Please sign in to comment.