Node lab for development and production with docker and a Nuxt JS application.
Docker helps developers bring their ideas to life by conquering the complexity of app development. We simplify and accelerate development workflows with an integrated dev pipeline and through the consolidation of application components. Actively used by millions of developers around the world, Docker Desktop and Docker Hub provide unmatched simplicity, agility and choice.
Docker Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.
Nuxt is an open source framework that makes web development simple and powerful.
up container
docker-compose up -d
list container
docker-compose ps
show container logs
docker-compose logs
Build universal image
DOCKER_BUILDKIT=1 docker build -t myapp --target production-universal .
docker run --rm -it -p 3000:3000 myapp
Build static image
DOCKER_BUILDKIT=1 docker build -t myapp:static --target production-static .
docker run --rm -it -p 80:80 myapp:static
The Docker Nuxt JS is open-sourced software licensed under the MIT license.