-
-
Notifications
You must be signed in to change notification settings - Fork 244
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 Dockerfile #2
Labels
Comments
I'll pull request you today, i did that for my own setup. |
👍 |
My previous attempt looked like this: # http://docs.docker.com/reference/builder/
FROM ubuntu
RUN apt-get -y update
RUN apt-get -y install mongodb redis-server supervisor nginx python-dev python-pip git
RUN mkdir /home/cloudtunes
RUN mkdir /requirements
ADD cloudtunes-server/requirements.txt /requirements.txt
RUN pip install --download=/requirements -r /requirements.txt
RUN pip install --no-index --find-links=/requirements -r /requirements.txt
ADD cloudtunes-server /home/cloudtunes/cloudtunes-server
ADD cloudtunes-webapp /home/cloudtunes/cloudtunes-webapp
RUN pip install /home/cloudtunes/cloudtunes-server
ADD cloudtunes-server/production/supervisor.ini /etc/supervisor/conf.d/cloudtunes.ini
### Launch ###
WORKDIR /home/cloudtunes
# https://docs.docker.com/articles/using_supervisord/
CMD supervisord --nodaemon
|
@leandrosferreira Any chance of a pull-request with the docker stuff? 👍 |
i'm on that right now, i had a problem running the webapp yesterday |
Pull request by @leandrosferreira: #13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add Docker support so that it's easy to run CloudTunes locally.
Ideally it would a single monolithic container containing both the app as well as running services (Redis, Mongo DB, and Nginx). The services part is where I struggle and help would be appreciated.
The text was updated successfully, but these errors were encountered: