mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
updated Dockerfile
This commit is contained in:
@@ -21,7 +21,6 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75
|
||||
RUN echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.0.list
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y mongodb-org
|
||||
RUN service mongod start
|
||||
|
||||
# install backend
|
||||
RUN pip install -U setuptools
|
||||
@@ -51,3 +50,9 @@ CMD python worker.py
|
||||
#CMD pm2 start app.py
|
||||
#CMD pm2 start flower.py
|
||||
#CMD pm2 start worker.py
|
||||
|
||||
# start mongodb
|
||||
CMD mongod
|
||||
|
||||
# start redis
|
||||
CMD redis-server
|
||||
|
||||
Reference in New Issue
Block a user