An open API service indexing awesome lists of open source software.

https://github.com/herrmannplatz/vue-cli-plugin-docker

🐳 Dockerize your vue app
https://github.com/herrmannplatz/vue-cli-plugin-docker

docker vue-cli vue-cli-plugin vuejs

Last synced: 12 months ago
JSON representation

🐳 Dockerize your vue app

Awesome Lists containing this project

README

          

# vue-cli-plugin-docker

[![npm version](https://badge.fury.io/js/vue-cli-plugin-docker.svg)](https://badge.fury.io/js/vue-cli-plugin-docker) [![Build Status](https://travis-ci.org/herrmannplatz/vue-cli-plugin-docker.svg?branch=master)](https://travis-ci.org/herrmannplatz/vue-cli-plugin-docker)

> 🐳 Dockerize your vue app

## Installation

```bash
$ vue add docker
```

## Usage

It will create a `Dockerfile` and `.dockerignore` in the root of your project. [serve](https://www.npmjs.com/package/serve) is used to serve your vue single page application.

The following command will build and run the image.

```bash
$ npm run docker
```

## Contribution

Ensure your commit messages follow the [Angular Commit Message Conventions](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-format).