Last active
July 16, 2018 00:37
-
-
Save tghastings/8f24d0baf4cbb30835904ff2d6afb460 to your computer and use it in GitHub Desktop.
Dockerfile Cloud9 Django
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM bizcapdev/base-python-alpine-django | |
RUN apk --update add build-base g++ make curl wget openssl-dev apache2-utils git libxml2-dev sshfs nodejs bash tmux sqlite-dev postgresql-dev mysql-dev supervisor \ | |
&& rm -f /var/cache/apk/* \ | |
&& git clone https://github.com/c9/core.git /cloud9 \ | |
&& cd cloud9 \ | |
&& curl -s -L https://raw.githubusercontent.com/c9/install/master/link.sh | bash \ | |
&& /cloud9/scripts/install-sdk.sh \ | |
&& sed -i -e 's_127.0.0.1_0.0.0.0_g' /cloud9/configs/standalone.js \ | |
&& mkdir /workspace \ | |
&& mkdir -p /var/log/supervisor | |
ADD supervisord.conf /etc/ | |
VOLUME /workspace | |
EXPOSE 80 8000 | |
ENTRYPOINT ["supervisord", "--nodaemon", "--configuration", "/etc/supervisord.conf"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment