FROM rabbitmq:3.13.3-alpine LABEL author="Sofiane Lasri" RUN adduser --disabled-password --home /home/container container USER container ENV USER=container HOME=/home/container WORKDIR /home/container ENV RABBITMQ_CONF_ENV_FILE=/home/container/rabbitmq-env.conf COPY ./entrypoint.sh /entrypoint.sh CMD ["/bin/bash", "/entrypoint.sh"]