File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 33
33
# ## VS Code ###
34
34
.vscode /
35
35
/test.pdf
36
+ /google-credentials.json
Original file line number Diff line number Diff line change 1
1
# 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
+
You can’t perform that action at this time.
0 commit comments