Skip to content

Commit

Permalink
fix: fix ui build in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Raymond Ottun committed Sep 28, 2021
1 parent 5d933a6 commit 5d4e7a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN yarn build
RUN yarn --production

# Build Dashboard
ENV PUBLIC_URL=/_/dashboard
ENV NODE_ENV=development
RUN cd ui && npm i
RUN cd ui && npm run build
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"yaml": "^1.10.2"
},
"scripts": {
"start": "react-scripts start",
"dev": "react-scripts start",
"build": "NODE_ENV=production react-scripts build",
"test": "echo 'Testing coming soon'",
"eject": "react-scripts eject"
Expand Down

0 comments on commit 5d4e7a1

Please sign in to comment.