Browser docker deploy

#1

I would like to host a web version of my app on AWS.

Has anyone deployed a web version inside a docker image?

What would be the best course of action:

Compile my code and run a webserver (nginx)
or
Build cordova browser and let the cordova instance run.

Any pro tips are welcome.

#2

Can’t speak to “best”, but I have done this with nginx and simply copying over the www directory to the container’s /usr/share/nginx/html/appname.

1 Like
#3

What I do is build the app locally and upload it onto an s3 bucket and serve it from there. works pretty well.

1 Like