Skip to content

Commit

Permalink
Dockerfile - modify workdir to CP's root
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jul 23, 2024
1 parent 357b303 commit 755f305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ RUN git clone --single-branch -b ${OPENSIPS_CP_VERSION} https://github.com/OpenS

COPY docker-entrypoint.sh /docker-entrypoint.sh

WORKDIR /var/www/html/opensips-cp

ONBUILD COPY modules.inc.php /var/www/html/opensips-cp/config/

RUN sed -i "s/root/www-data/g" /var/www/html/opensips-cp/config/tools/system/smonitor/opensips_stats_cron &&\
Expand Down

0 comments on commit 755f305

Please sign in to comment.