This commit is contained in:
Trey t
2023-06-26 14:55:01 -05:00
parent e14397aaa0
commit c1751d2c94
7 changed files with 3 additions and 6 deletions

View File

@@ -8,10 +8,6 @@ RUN apt-get update
RUN apt-get install -y swig libssl-dev dpkg-dev netcat
RUN pip install -U pip
# Add the Dokku-specific files to their locations.
ADD misc/dokku/CHECKS /app/
ADD misc/dokku/* /code/
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt

3
Procfile Normal file
View 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

View File

@@ -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