From da327fea4d56b6b3565304d5e59476183892e504 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Wed, 20 Dec 2023 14:03:29 -0300 Subject: [PATCH] Troca do arquivo bashrc para ser o raiz Ref: https://github.com/LibreSign/libresign-www/pull/16 Signed-off-by: Vitor Mattos --- .docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.docker/Dockerfile b/.docker/Dockerfile index b9c4c52..73dbff0 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -29,9 +29,9 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \ @composer \ && rm /usr/local/bin/install-php-extensions -RUN echo "alias jigsaw=./vendor/bin/jigsaw" >> ~/.bashrc && \ - echo "alias compile='./vendor/bin/jigsaw build'" >> ~/.bashrc && \ - /bin/bash -c "source ~/.bashrc" +RUN echo "alias jigsaw=./vendor/bin/jigsaw" >> /etc/bash.bashrc && \ + echo "alias compile='./vendor/bin/jigsaw build'" >> /etc/bash.bashrc && \ + /bin/bash -c "source /etc/bash.bashrc" COPY entrypoint.sh /var/www/scripts/ ENTRYPOINT [ "bash", "/var/www/scripts/entrypoint.sh" ]