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

Commit

Permalink
[BUILD] fix docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
archan0621 committed Feb 5, 2024
1 parent 7c1db47 commit 90543ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,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

# Set $my_api value to "https://seulchuksaeng.store/"
RUN sed -i 's/$my_api = "";/\$my_api = "${APIURL}";/' /var/www/html/config/config.php
RUN sed -i "s/\$my_api = \"\";/\$my_api = \"$APIURL\";/" /var/www/html/config/config.php

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

0 comments on commit 90543ba

Please sign in to comment.