Created
November 9, 2019 07:23
-
-
Save aballah-chamakh/bed83480b9108780c51767429fc925a8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 python:3.6 # base image | |
| RUN mkdir src # create a src directory | |
| WORKDIR /src # change directory to src | |
| ADD . /src/ # add the django code to src | |
| RUN pip install requirements.txt # install the python library | |
| CMD ["gunicorn","MyApp.wsgi:application","--bind 0.0.0.0:9000"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment