Last active
May 22, 2016 15:06
-
-
Save duncan60/f378f3ebc60c1456f840084ee58392d3 to your computer and use it in GitHub Desktop.
docker run
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
docker run -it -d -p 0.0.0.0:5999:5999 -v ~/et-system-app:/opt/et-system-app --name et-system et-system-app/flask:flask-setting /bin/sh -c "cd opt/et-system-app && python run.py" |
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
# python 2 | |
# Flask-RESTful & pymssql | |
FROM python:2-onbuild | |
MAINTAINER duncan60 <tmduncan60@gmail.com> | |
RUN apt-get update \ | |
&& apt-get install freetds-dev \ | |
&& pip install Flask \ | |
&& pip install Flask-SQLAlchemy \ | |
&& pip install Flask-RESTful \ | |
&& pip install Flask-Script \ | |
&& pip install Flask-Testing \ | |
&& pip install requests \ | |
&& pip install pymssql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment