Skip to content

Commit

Permalink
create symlinkg for php
Browse files Browse the repository at this point in the history
  • Loading branch information
C0mp4ct authored and TrafeX committed Aug 22, 2023
1 parent 397b58a commit bb5751a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# Make sure files/folders needed by the processes are accessable when they run under the nobody user
RUN chown -R nobody.nobody /var/www/html /run /var/lib/nginx /var/log/nginx

# Create symlink for php
RUN ln -s /usr/bin/php82 /usr/bin/php

# Switch to use a non-root user from here on
USER nobody

Expand Down

0 comments on commit bb5751a

Please sign in to comment.