Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nklsw/nuxt3-docker-starter
⚡ Minimal Starter for creating dockerized Nuxt 3 applications
https://github.com/nklsw/nuxt3-docker-starter
boilerplate development docker docker-compose nuxt nuxt-boilerplate nuxt-starter nuxt-starter-template nuxt3 nuxtjs starter starter-kit starter-project starter-template
Last synced: 3 days ago
JSON representation
⚡ Minimal Starter for creating dockerized Nuxt 3 applications
- Host: GitHub
- URL: https://github.com/nklsw/nuxt3-docker-starter
- Owner: nklsw
- License: mit
- Created: 2022-07-06T18:20:17.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-13T22:22:20.000Z (11 months ago)
- Last Synced: 2024-03-13T23:28:03.177Z (11 months ago)
- Topics: boilerplate, development, docker, docker-compose, nuxt, nuxt-boilerplate, nuxt-starter, nuxt-starter-template, nuxt3, nuxtjs, starter, starter-kit, starter-project, starter-template
- Language: Dockerfile
- Homepage:
- Size: 133 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dockerized Nuxt 3 Starter
Working with Docker containers is a convinient way to seperate local machines ressources and configuration from development environments. This minimal project is a starter for creating dockerized [Nuxt 3](https://github.com/nuxt/framework) applications.
## Prerequisites
Make sure that [docker](https://docs.docker.com/get-docker/) and [docker-compose](https://docs.docker.com/compose/install/) are installed on your local machine.
## Setup
Start the development server on http://localhost:3000
```bash
docker compose up
```## Production
🚧 WIPBuild the docker container for production:
```bash
docker build -t nuxt_build .
```Run nuxt build inside the container:
```bash
docker run -it nuxt_build npm run build
```Checkout the official Nuxt 3 [deployment documentation](https://v3.nuxtjs.org/guide/deploy/presets) for more information.