You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I can create a docker image with the latest image (1.0.2). I tried to create a docker image from the devel branch:
Dockerfile:
FROM python:3.8
LABEL description="Python 3.8 based image to run emhub application"
LABEL maintainer="J.M. de la Rosa Trevin delarosatrevin@gmail.com"
RUN pip install emhub
ENV EMHUB_INSTANCE /emhub-data
USER nobody
CMD [ "gunicorn", "-k", "gevent", "--workers=2", "emhub:create_app()", "--bind", "0.0.0.0:8080" ]
Run build command: docker build . -t emhub:gael --no-cache
EMHUB is running but the version shown at the bottom is still 1.0.2, from emhub directory if I run gunicorn -k gevent --workers=2 'emhub:create_app()' --bind 0.0.0.0:8899
EMHUB is the right dev version (1.0.4rc2)
I guess this is coming from the command pip install emhub in Dockerfile, do you have any advice to create a docker image using devel branch ?
The text was updated successfully, but these errors were encountered:
Yes, it is because you are installing EMhub from the pip command. We recently were working on a Dockerfile for an image working from devel branch. Have a look at the following PR:
You only need to build the image once and then restart it when there are new changes. Please check the users and directory where you will mount the instance. Be sure the EMHUB_INSTANCE is passed correctly.
Hi,
I can create a docker image with the latest image (1.0.2). I tried to create a docker image from the devel branch:
Dockerfile:
Run build command:
docker build . -t emhub:gael --no-cache
Start using docker compose file:
EMHUB is running but the version shown at the bottom is still 1.0.2, from emhub directory if I run
gunicorn -k gevent --workers=2 'emhub:create_app()' --bind 0.0.0.0:8899
EMHUB is the right dev version (1.0.4rc2)
I guess this is coming from the command pip install emhub in Dockerfile, do you have any advice to create a docker image using devel branch ?
The text was updated successfully, but these errors were encountered: