Fix typo in Dockerfile.fpm-alpine

enviroment -> environment
This commit is contained in:
Ikko Ashimine 2022-10-06 11:53:13 +09:00 committed by GitHub
parent 1ef3eb94db
commit 66e64cb136
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ]