fix dockerfile and entrypoint

This commit is contained in:
cherednik 2024-10-24 14:35:44 +04:00
parent 544302140b
commit c20da7d095
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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