Tweak the Dockerfile
This commit is contained in:
parent
269c5135c2
commit
f6586eb852
|
@ -3,5 +3,4 @@ ADD . /app
|
|||
WORKDIR /app
|
||||
RUN pip install -r requirements.txt
|
||||
ENV FLASK_APP=app.py
|
||||
RUN python -c "import config; config.create_indexes()"
|
||||
CMD ["gunicorn", "-t", "300", "-w", "2", "-b", "0.0.0.0:5005", "--log-level", "debug", "app:app"]
|
||||
CMD ["./run.sh"]
|
||||
|
|
Loading…
Reference in a new issue