Manice18 / next_docker_sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steps for using with Docker:

  • docker build -t next_docker_test .
  • docker run -p 3000:3000 next_docker_test : Runs the nextjs image in a container with port 3000

Steps to deploy to any VPS with ghcr:

  • Name the image with the prefix: ghcr.io/<repo_name>/<image_name>:
  • docker build -t ghcr.io/manice18/next_docker_test:latest .
  • docker login ghcr
  • docker push ghcr.io/manice18/next_docker_test:latest

About


Languages

Language:Dockerfile 42.5%Language:TypeScript 39.5%Language:CSS 11.7%Language:JavaScript 6.4%