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

Add docker support #24

Open
wants to merge 3 commits into
base: production
Choose a base branch
from

Conversation

azrikahar
Copy link

Docker is pretty popular and was even the number 1 most wanted platform in the recent Stack Overflow Developer Survey 2020, hence I thought adding docker support would be a nice addition here.

I've used the alpine variant of the official image for nginx to serve the files, so the resulting container is just 28.1 MB now. I've also added gzip support and shaved down to 156 kb on load. EDIT: on hind sight, I noticed that you bundled the css & js files in your demo site with even smaller footprint at 81.4 kb, so if you can also guide me on what is your current bundling process looks like, it would be great! I can't seem to find the all2.css and all.build.js files in this repo.

With that said, one thing I would like to ask @pkalogiros is would you mind creating a Docker ID at Docker Hub? It is free for all public repos and 1 private repo of your choice. This is so that the image will be pkalogiros/audiomass instead of azrikahar/audiomass. There is also built in triggers on Docker Hub so once you did the initial setup, it will automatically build a new image every time you push new commits. I'm more than happy to guide you through the process of setting this up. Here is the the image from my forked repo on Docker Hub: https://hub.docker.com/r/azrikahar/audiomass just to give you a general idea of how the end result will be. I will be removing this image once you have yours up and going.

Base automatically changed from master to production March 15, 2021 02:13
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