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

Install emission no image #14

Merged
merged 4 commits into from
Nov 3, 2020

Conversation

shankari
Copy link
Contributor

@shankari shankari commented Nov 3, 2020

No description provided.

- One which has the server code in the image
- One which has the server code in the container

Refactor the support scripts to split out clone and start.
Then invoke clone in the image for the first one, and in the CMD for the second
Unify the rest of the code

This simplifies the dockerfiles tremendously, clarifies what they do, and avoids duplicated code

Testing done:
- Ran both kinds of docker containers and confirmed that I could see index.html
We want to have the flexibility to deploy from other branches so we use the dev
image and call `/clone.sh` from the startup script. The two startup scripts are
different since one of them starts the webapp and the other starts the cronjobs
for the analysis layer.
Since we have now unified the server checkout location at /usr/src/app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant