Skip to content

Commit

Permalink
chore: handle the wp-config in entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
alihm committed Nov 23, 2023
1 parent 893c2df commit 8ac739f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ RUN chmod -R g+rwx /var/www/html/
# Copy the Nginx configuration file into the container at /etc/nginx/nginx.conf
COPY nginx.conf /etc/nginx/nginx.conf
# Add wordpress config and database env
COPY --chown=www-data:www-data wp-config.php /var/www/html/wp-config.php
COPY --chown=www-data:www-data wp-config.php /usr/src/wordpress/wp-config.php
ENV WORDPRESS_DB_USER=root
ENV WORDPRESS_DB_NAME=test_db
# Add wordpress entrypoint
Expand Down

0 comments on commit 8ac739f

Please sign in to comment.