Modify Dockerfile and server.js to use an environmental variable to determine whether client is being run from container or from local machine