{"id":23209040,"url":"https://github.com/truefalse10/vue-cli-plugin-docker-nginx","last_synced_at":"2025-08-19T04:31:45.546Z","repository":{"id":128434911,"uuid":"152105874","full_name":"truefalse10/vue-cli-plugin-docker-nginx","owner":"truefalse10","description":"vue-cli plugin that adds minimal docker deployment using nginx","archived":false,"fork":false,"pushed_at":"2018-10-18T10:27:10.000Z","size":3,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-15T03:45:33.271Z","etag":null,"topics":["docker","nginx","vue","vue-cli","vue-cli-plugin"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/truefalse10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-08T15:46:27.000Z","updated_at":"2024-03-05T19:53:20.000Z","dependencies_parsed_at":"2024-01-02T23:39:53.921Z","dependency_job_id":"7f1a9f64-df7d-4d05-8cf3-832b8ee707e4","html_url":"https://github.com/truefalse10/vue-cli-plugin-docker-nginx","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"eed9fa3aa3e6f4f363a5b2e3e197cedd6530b63b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truefalse10%2Fvue-cli-plugin-docker-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truefalse10%2Fvue-cli-plugin-docker-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truefalse10%2Fvue-cli-plugin-docker-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truefalse10%2Fvue-cli-plugin-docker-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truefalse10","download_url":"https://codeload.github.com/truefalse10/vue-cli-plugin-docker-nginx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230202346,"owners_count":18189437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","nginx","vue","vue-cli","vue-cli-plugin"],"created_at":"2024-12-18T18:13:57.039Z","updated_at":"2024-12-18T18:13:57.720Z","avatar_url":"https://github.com/truefalse10.png","language":"Dockerfile","readme":"# vue-cli-plugin-docker-nginx\n\n\u003e having a node container running an express server seemed kind of overkill for serving a built vue-app\n\nThis is a vue-cli-plugin that adds a minimal docker deployment (**~19MB** + static files) using nginx to serve your vue-app\n\n### Installation\n\n```\nvue add vue-cli-plugin-docker-nginx\n```\n\nThis will automatically add all the files needed to your existing vue-cli project\n\n### Build and run local docker container\n\n```\nnpm run docker\n```\n\nThis will build a docker container and run it on port `3000`. If you want to run it on different port change the run script in your `package.json` to\n\n```\n  \"docker\": \"docker build . -t vue-app \u0026\u0026 docker run -d -p \u003cPORT\u003e:80 vue-app\"\n```\n\nPlease make sure to have [docker](https://docs.docker.com/install/) installed and running on your machine.\n\n### Tweak nginx config\n\nWith the default settings nginx listens on port `80` and is configured to route all requests back to `index.html`. This way you can safely use `history`-mode in your `vue-router`. These settings can be changed in `default.conf` in you projects root.\n","funding_links":[],"categories":["Components \u0026 Libraries","Integrations","Integrations [🔝](#readme)"],"sub_categories":["Integrations","Vue CLI 3 Plugins"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruefalse10%2Fvue-cli-plugin-docker-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruefalse10%2Fvue-cli-plugin-docker-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruefalse10%2Fvue-cli-plugin-docker-nginx/lists"}