-
-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
docker deploy #2745
Comments
Hi! Unfortunately we aren't experts in advising for this sort of thing. Please see our Deployment section for the various guides we have. Perhaps the S3 and CloudFront guide will suit you. You can also checkout Now and others in that section. Cheers! |
@abdalla you should only upload the static files generate from npm run build. if you're using AWS S3, upload to the relevant buckets. |
Hey there.. Thanks for your answer and help, but what I'm looking for is to deploy my container with my app built, does it make sense? I got a good answer for it on StackOverflow ( https://stackoverflow.com/questions/44981427/create-react-app-docker-qa-and-prod-deploy/44981792#44981792 ) and it worked fine for me. |
Hey Guys,
I'm using create-react-app for my projects using docker as my dev env.
Now I would like to know how is the best practice to deploy my project into AWS (I'll deploy the docker).
Maybe my question is a dummy but I'm really stuck on it.
My docker file has a command yarn start... for dev it is enough I don't need to build anything, my bundle will run in memory, but for QA or PROD I would like to build using npm run build but as I know it will create a new folder with the files that should be used on prod env.
That said, my question is: what is the best practice for this kind of situation?
Thanks.
The text was updated successfully, but these errors were encountered: