WIP
This commit is contained in:
@@ -8,10 +8,6 @@ RUN apt-get update
|
|||||||
RUN apt-get install -y swig libssl-dev dpkg-dev netcat
|
RUN apt-get install -y swig libssl-dev dpkg-dev netcat
|
||||||
RUN pip install -U pip
|
RUN pip install -U pip
|
||||||
|
|
||||||
# Add the Dokku-specific files to their locations.
|
|
||||||
ADD misc/dokku/CHECKS /app/
|
|
||||||
ADD misc/dokku/* /code/
|
|
||||||
|
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
COPY requirements.txt /code/
|
COPY requirements.txt /code/
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|||||||
3
Procfile
Normal file
3
Procfile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
web: gunicorn werkout_api.wsgi:application --port 5000 --bind 0.0.0.0
|
||||||
|
beat: /usr/local/bin/celery -A werkout_api beat -linfo
|
||||||
|
worker: /usr/local/bin/celery-A werkout_api worker -l info
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
web: /usr/local/bin/uwsgi --chdir=/code --ini=/code/uwsgi.ini
|
|
||||||
worker: /usr/local/bin/celery -A werkout_api worker -P gevent
|
|
||||||
Reference in New Issue
Block a user