Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Commit

Permalink
fix(dockerfile): fix nuxt start not exposing
Browse files Browse the repository at this point in the history
Signed-off-by: Capuccino <enra@sayonika.moe>
  • Loading branch information
Capuccino committed Jan 18, 2019
1 parent 3b083a2 commit d9faa34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ matrix:
- wget -qO - https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz | tar -xzvf -
- chmod -R 755 openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/oc
- sudo cp -vRf openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/oc /usr/bin
- rm -rf openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit
- npm i --save
- npm run generate
script:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10
FROM node:10-alpine

USER root
RUN mkdir /app
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "PORT=8080 nuxt start",
"start": "PORT=8080 nuxt start --hostname 0.0.0.0",
"generate": "nuxt generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"postinstall": "nuxt generate",
Expand Down

0 comments on commit d9faa34

Please sign in to comment.