Skip to content

Docker上でNuxtJSの開発環境を整えるテンプレート

License

Notifications You must be signed in to change notification settings

Umisyo/Docker-Nuxt-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker-Nuxt-Template

This is a template for easy development of Nuxt.js on Docker

Dependency

Docker v18.2.0 docker-compose v1.23.2 Nuxt.js v2.0.0

Setup(for mac)

$brew install docker
$brew cask install docker

$open /Applications/Docker.app

Register account according to the message

$git clone https://github.com/Umisyo/Docker-Nuxt-Template

$cd Docker-Nuxt-Template

$docker-compose build nuxt

Usage

$docker-compose run create-nuxt-app

Make the following changes to package.json to allow access from the host OS.

- "dev": "nuxt"
+ "dev": "HOST=0.0.0.0 PORT=3000 nuxt"

Then type the following command.

$docker-compose run nuxt yarn install

To start the server, just type the following command.

$docker-compose up

License

This software is released under the MIT License, see LICENSE.

Authors

Souta Kusunoki a.k.a Umisyo or そーとく

About

Docker上でNuxtJSの開発環境を整えるテンプレート

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published