Skip to content

Commit

Permalink
Merge pull request #18 from PHPRio/bugfix/bashrc
Browse files Browse the repository at this point in the history
Troca do arquivo bashrc para ser o raiz
  • Loading branch information
giovannism20 authored Dec 20, 2023
2 parents c5cd641 + da327fe commit 63c115e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit 63c115e

Please sign in to comment.