diff --git a/Dockerfile b/Dockerfile index c81cb18..3c0e1f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN apt update && apt install -y \ libonig-dev \ libxslt1-dev \ acl \ - && echo 'alias sf="php bin/console"' >> ~/.bashrc \ + && echo 'alias sf="php bin/console"' >> ~/.bashrc RUN wget -q -O /etc/apt/trusted.gpg.d/lab50.gpg http://packages.lab50.net/lab50.gpg RUN echo 'deb http://packages.lab50.net/okular jammy main non-free' > /etc/apt/sources.list.d/okulargost.list diff --git a/entrypoint.sh b/entrypoint.sh index b56eb29..ea79d1b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/bash -x -APP_ENV=$(grep APP_ENV $DIRECTORY".env.local" | xargs) +APP_ENV="${APP_ENV:-dev}” if [[ ${APP_ENV#*=} == "prod" ]]; then service pcscd start