Last active
July 12, 2023 12:36
-
-
Save junaidulqayyumqureshi/914cd104fd2f9cc1c222f2836f4141e1 to your computer and use it in GitHub Desktop.
Research & Findings on CLOUD based website deployments, Development snippets & more
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recover EC2 instance & Connect without key pair
Permission Denied EC2 CodeCommit
sudo chown -R ubuntu .git/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Deployment on DigitalOcean Apps Platform of a docker react app
1- Create file named "Dockerfile" (Without any extension)
2- Create folder called .docker on root and create a file in it with name "prod.Dockerfile"
Copy below content in both the files
3- After that, create an app on app platform and choose this repo
4- Remove extra webservice instances, if any, other than Docker WebService.
5- Define a port i.e. 3000 in settings
6- Define start and build scripts in package.json i.e. react-scripts start
Voila!!!