-
Notifications
You must be signed in to change notification settings - Fork 63
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
simplify docker deployment process #33
Comments
Instead of using git clone in Dockerfile to deploy, I create a lite version of pennai in /dockers/base/files/pennai.tar.gz to deploy pennai in this commit |
hjwilli
added a commit
that referenced
this issue
Jun 19, 2018
install pm2 globally when the docker image is being built, not every time the container is started move COPY entrypoint.sh to the end of the dockerfile to speed up rebuilds make the lab container more verbose References #33
hjwilli
added a commit
that referenced
this issue
Jul 3, 2018
container dependencies added to docker-compose scripts machine startup script waits for lab to be responsive added jest int tests against machine container jest int tests wait for both lab and machine to be up jest int tests produce html output in ./tests/integration/resutls References #40 References #33
node_module docker management reference: http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html |
hjwilli
added a commit
that referenced
this issue
Aug 23, 2018
- node_modules built with docker-compose build; automatically rebuilt when machine/package.json updated - node_modules now built in an anon container volume References #33
closing for now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Work has been done to consolidate the project into three docker containers in the pennai_lite branch:
This seems like a reasonable server configuration for now. Continue to to clean up the deployment process; continue to clean up and simplify Dockerfiles, add error checking to entrypoint.sh/startup.sh where appropriate, clean up dependencies, remove deprecated files, consolidate entrypoint.sh/start.sh files used by lab, clean up 'dockers/base' to only include what really needs to be shared, etc.
The text was updated successfully, but these errors were encountered: