Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 970 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 970 Bytes

firebase-fdproject

How to Run this Project :

1 . Run Image : rajshah/fdproject-fireapp:(VERSION_NAME)

How to Create a IMAGE Of this Project :

  1. Push Changes to Github :
  2. Run Manual Docker Build and Push Workflow In Action (Provide Unique Version Name)
  3. Now , Update the Container to Add Google-Credentails.json>

3.1 Go to the Directory where google-credentails are saved.
3.2 ls to verify
3.3 export IMAGE_URL=rajshah1/fdproject-fireapp:v22 (Version Can be anything provided in step 2)
3.4 docker create --name temp_container $IMAGE_URL (This Creates a Temp Container)
3.5 docker cp ./google/google-credentials.json temp_container:/google-credentials.json
3.6 docker commit temp_container $IMAGE_URL
3.7 docker push $IMAGE_URL

This Pushes the image with same tag with google-credentails File

Run the Image using : docker run -it -p 8080:8080 rajshah1/fdproject-fireapp:v22