Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
[BUILD] docker file test
Browse files Browse the repository at this point in the history
  • Loading branch information
archan0621 committed Feb 5, 2024
1 parent d66e7ef commit 871775d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ RUN sed -i 's/^\(session\.auto_start\s*=\s*\)0/\11/' /etc/php/7.4/apache2/php.in
# Modify Apache configuration to allow .htaccess overrides
RUN sed -i '/<Directory \/var\/www\/>/,/<\/Directory>/ s/AllowOverride None/AllowOverride all/' /etc/apache2/apache2.conf

RUN sed -i "s#$my_api = "";#\$my_api = \"$URL\";#" /var/www/html/config/config.php

RUN echo "URL TEST %APIURL%"
RUN echo "URL TEST $APIURL"
RUN echo "URL TEST ${APIURL}"
RUN echo "URL TEST $URL"
RUN sed -i "s#\${my_api} = \"\";#\${my_api} = \"$URL\";#" /var/www/html/config/config.php

ENTRYPOINT ["apachectl", "-D", "FOREGROUND"]
EXPOSE 80/tcp

0 comments on commit 871775d

Please sign in to comment.