Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented a working production UI dockerfile for Bassa #797

Merged
merged 2 commits into from
Aug 11, 2019

Conversation

kmehant
Copy link
Collaborator

@kmehant kmehant commented Jun 12, 2019

Description

Made changes to production Dockerfile for Bassa UI. I worked on getting the built folder dist in the initial docker build stage and copied that to nginx container and finally had used nginx server to host the Bassa UI static site pages at localhost:80

Image size: ~22MB

Related Issue

#796

Motivation and Context

We need a working production level Dockerfile for Bassa UI.

How Has This Been Tested?

This has been tested locally using docker and docker-compose

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@kmehant kmehant requested review from agentmilindu and vivonk June 12, 2019 10:54
@kmehant kmehant self-assigned this Jun 12, 2019
@kmehant kmehant added bug enhancement GSoC-2019 Tasks for GSoC-2019 and removed enhancement labels Jun 12, 2019
@kmehant kmehant force-pushed the prod-UI-dockerfile branch from b70db0f to bf2edac Compare June 12, 2019 11:00
@kmehant
Copy link
Collaborator Author

kmehant commented Jun 12, 2019

@agentmilindu @vivonk Please review!

@kmehant
Copy link
Collaborator Author

kmehant commented Jun 12, 2019

Fixes #745

ui/Dockerfile Show resolved Hide resolved
Copy link
Collaborator

@vivonk vivonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vivonk vivonk merged commit 30029c8 into scorelab:develop Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug GSoC-2019 Tasks for GSoC-2019
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants