Skip to content

Commit

Permalink
better docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
ourway committed Oct 29, 2015
1 parent 70ce65f commit ae82a1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
FROM ubuntu:14.04
FROM python:latest
MAINTAINER Farsheed Ashouri
WORKDIR /data

RUN apt-get install -y python curl
RUN curl -O https://bootstrap.pypa.io/get-pip.py
RUN python get-pip.py
RUN pip install auth


EXPOSE 4000
ENTRYPOINT exec auth-server
ENTRYPOINT exec gunicorn auth:api -k eventlet -b 0.0.0.0:4000 -w 8 -t 10

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
MYDIR = path.abspath(os.path.dirname(__file__))

# NOTE
REQUIRES = ['falcon', 'mongoengine', 'blinker', 'werkzeug']
REQUIRES = ['falcon', 'mongoengine', 'blinker', 'werkzeug', 'gunicorn', 'eventlet']

cmdclass = {}
ext_modules = []

setup(
name='auth',
version='0.3.2',
version='0.3.3',
description='Authorization for humans',
long_description=io.open('README.rst', 'r', encoding='utf-8').read(),
classifiers=[
Expand Down

0 comments on commit ae82a1e

Please sign in to comment.