MSG="\\n======================================================================\\nUI is found here: ${DEV_URI}\\nLog in with: admin@example.com and password admin if this is a new DB.\\n======================================================================\\n"
cat >> dev/Dockerfile <<EOF
COPY --from=assets /work/static/ ./static/
@ -45,6 +56,7 @@ RUN set -euxo pipefail \
ENV FLASK_ENV=development
ENV MEMORY_SESSIONS=true
ENV SESSION_COOKIE_SECURE=false
ENV DEBUG=true
ENV DEBUG_PROFILE=${DEV_PROFILE}
@ -58,14 +70,15 @@ ENV SMTP_ADDRESS="127.0.0.1"
ENV REDIS_ADDRESS="127.0.0.1"
ENV WEBMAIL_ADDRESS="127.0.0.1"
CMD ["/bin/bash", "-c", "flask db upgrade && flask run --host=0.0.0.0 --port=8080"]