Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save praveenweb/a371e42ddfd302251b07f69abb8d3baf to your computer and use it in GitHub Desktop.
Save praveenweb/a371e42ddfd302251b07f69abb8d3baf to your computer and use it in GitHub Desktop.
FROM python:3.6
# Create app directory
WORKDIR /app
# Install app dependencies
COPY gunicorn_app/requirements.txt ./
RUN pip install -r requirements.txt
# Bundle app source
COPY . /app
EXPOSE 8080
CMD ["gunicorn", "--config", "./gunicorn_app/conf/gunicorn_config.py", "gunicorn_app:app"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment