fix dockerfile and entrypoint
This commit is contained in:
parent
544302140b
commit
c20da7d095
|
|
@ -24,7 +24,7 @@ RUN apt update && apt install -y \
|
||||||
libonig-dev \
|
libonig-dev \
|
||||||
libxslt1-dev \
|
libxslt1-dev \
|
||||||
acl \
|
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 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
|
RUN echo 'deb http://packages.lab50.net/okular jammy main non-free' > /etc/apt/sources.list.d/okulargost.list
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
APP_ENV=$(grep APP_ENV $DIRECTORY".env.local" | xargs)
|
APP_ENV="${APP_ENV:-dev}”
|
||||||
|
|
||||||
if [[ ${APP_ENV#*=} == "prod" ]]; then
|
if [[ ${APP_ENV#*=} == "prod" ]]; then
|
||||||
service pcscd start
|
service pcscd start
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue