Merge pull request #11928 from eltociear/patch-1
Fix typo in Dockerfile.fpm-alpine
This commit is contained in:
commit
9409965239
1 changed files with 3 additions and 3 deletions
|
@ -75,14 +75,14 @@ RUN set -eux; \
|
||||||
rm snipeit.tar.gz; \
|
rm snipeit.tar.gz; \
|
||||||
# Install composer php dependencies
|
# Install composer php dependencies
|
||||||
if [ "$ENVIRONMENT" = "production" ]; then \
|
if [ "$ENVIRONMENT" = "production" ]; then \
|
||||||
echo "production enviroment detected!"; \
|
echo "production environment detected!"; \
|
||||||
composer update \
|
composer update \
|
||||||
--no-cache \
|
--no-cache \
|
||||||
--no-dev \
|
--no-dev \
|
||||||
--optimize-autoloader \
|
--optimize-autoloader \
|
||||||
--working-dir=/var/www/html; \
|
--working-dir=/var/www/html; \
|
||||||
else \
|
else \
|
||||||
echo "development enviroment detected!"; \
|
echo "development environment detected!"; \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
${DEV_PACKAGES}; \
|
${DEV_PACKAGES}; \
|
||||||
composer update \
|
composer update \
|
||||||
|
@ -100,4 +100,4 @@ COPY --chown=www-data:www-data docker/docker-secrets.env /var/www/html/.env
|
||||||
COPY --chmod=655 docker/docker-entrypoint.sh /usr/local/bin/docker-snipeit-entrypoint
|
COPY --chmod=655 docker/docker-entrypoint.sh /usr/local/bin/docker-snipeit-entrypoint
|
||||||
COPY docker/column-statistics.cnf /etc/mysql/conf.d/column-statistics.cnf
|
COPY docker/column-statistics.cnf /etc/mysql/conf.d/column-statistics.cnf
|
||||||
ENTRYPOINT [ "/usr/local/bin/docker-snipeit-entrypoint" ]
|
ENTRYPOINT [ "/usr/local/bin/docker-snipeit-entrypoint" ]
|
||||||
CMD [ "/usr/local/bin/docker-php-entrypoint", "php-fpm" ]
|
CMD [ "/usr/local/bin/docker-php-entrypoint", "php-fpm" ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue