Skip to content

Commit

Permalink
Fix Dockerfile, suppress webpack output
Browse files Browse the repository at this point in the history
 * Dockerfile wasn't doing npm install.
 * suppress webpack output as per
      vuejs/vue-cli#4557
  • Loading branch information
osfameron committed Apr 26, 2021
1 parent f402845 commit 2d3dc58
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ EXPOSE 8081

COPY . .

RUN npm install
RUN npm install @vue/cli-service

# Set the default command to execute
CMD npm run serve

Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ services:
build: .
ports:
- 8081:8081
command: bash -c "npm i @vue/cli-service && npm run serve"
container_name: try-cb-fe

db:
Expand Down
5 changes: 5 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
devServer: {
progress: false
}
}

0 comments on commit 2d3dc58

Please sign in to comment.