Skip to content

Commit 97816af

Browse files
author
rajshah1
committed
65 . Docker Push and Build WorkFlow Final For Azure Deployments
1 parent 5ff08b5 commit 97816af

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ build/
3333
### VS Code ###
3434
.vscode/
3535
/test.pdf
36+
/google-credentials.json

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
11
# firebase-fdproject
2+
3+
4+
## How to Run this Project :
5+
6+
1 . Run Image : rajshah/fdproject-fireapp:(VERSION_NAME)<br/>
7+
8+
9+
## How to Create a IMAGE Of this Project :
10+
11+
1. Push Changes to Github :<br/>
12+
2. Run Manual Docker Build and Push Workflow In Action (Provide Unique Version Name)<br/>
13+
3. Now , Update the Container to Add Google-Credentails.json><br/>
14+
15+
3.1 Go to the Directory where google-credentails are saved.<br/>
16+
3.2 ls to verify<br/>
17+
3.3 export IMAGE_URL=rajshah1/fdproject-fireapp:v22 (Version Can be anything provided in step 2)<br/>
18+
3.4 docker create --name temp_container $IMAGE_URL (This Creates a Temp Container)<br/>
19+
3.5 docker cp ./google/google-credentials.json temp_container:/google-credentials.json<br/>
20+
3.6 docker commit temp_container $IMAGE_URL <br/>
21+
3.7 docker push $IMAGE_URL<br/>
22+
23+
>> This Pushes the image with same tag with google-credentails File<br/>
24+
25+
Run the Image using : docker run -it -p 8080:8080 rajshah1/fdproject-fireapp:v22<br/>
26+
27+

0 commit comments

Comments
 (0)