This is a collection of different sample applications that use Docker. They are separated by branches and all of them have a ready-to-use config.
In Branch: node-app
# Clone the project
$ git clone [email protected]:salinatomass/docker-examples.git -b node-app --single-branch my-project
In Branch: nestjs-app
# Clone the project
$ git clone [email protected]:salinatomass/docker-examples.git -b nestjs-app --single-branch my-project
In Branch: nextjs-app
# Clone the project
$ git clone [email protected]:salinatomass/docker-examples.git -b nextjs-app --single-branch my-project
# development
$ docker compose up -d
# build
$ docker build -t my-project-prod -f ./build/production.Dockerfile .
# production container
$ docker run -d -p 3000:3000 my-project-prod
- Author: @salinatomass
For support, email [email protected].