Skip to content

Commit

Permalink
add alias
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Aug 14, 2024
1 parent 96c949b commit 6c6e715
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN set -ex; \
ENTRYPOINT ["/init"]

RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY common/sh /etc/profile.d
COPY common/s6-rc.d /etc/s6-overlay/s6-rc.d
COPY common/nginx/nginx.conf /etc/nginx/nginx.conf
COPY 8.2/php.ini /usr/local/etc/php/conf.d/zz-custom.ini
Expand Down Expand Up @@ -69,6 +70,12 @@ ENV WORKER_TIMEOUT=600
# Number of times to attempt a job before logging it failed
ENV WORKER_TRIES=3

# determines what the container should do if one of the service scripts fails
# 0: Continue silently even if a script has failed.
# 1: Continue but warn with an annoying error message.ext script
# 2: Stop the container.
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS 2

Check warning on line 77 in 8.2/Dockerfile

View workflow job for this annotation

GitHub Actions / PHP 8.2

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

ENV SENTRY_SAMPLE_RATE=0

EXPOSE 80
1 change: 1 addition & 0 deletions common/sh/aliases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias artisan="php /var/www/artisan"

0 comments on commit 6c6e715

Please sign in to comment.