Skip to content

Tindev/Tindev-site

Repository files navigation

Tindev

Local serving

Run yarn run serve to inspect the browser locally.

Building with docker

Run docker build -t polymer-nginx . to build a Docker image. Run docker run -p 80:80 polymer-nginx to start the Docker image. You can then open localhost:80 in your browser and inspect the website.

Deploying to server

You need rights to the Docker hub

  • Run docker build -t polymer-nginx . to build a Docker image.
  • Run docker tag polymer-nginx gweterings/polymer-nginx:latest to tag the new build as the latests official.
  • Run docker push gweterings/polymer-nginx:latest to push the new image to docker hub.

On the server,

  • Run docker stop gweterings/polymer-nginx
  • Run docker pull gweterings/polymer-nginx:latest
  • Run docker run -d -p 80:80 gweterings/polymer-nginx:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published