mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fix typo in Dockerfile.fpm-alpine
enviroment -> environment
This commit is contained in:
parent
1ef3eb94db
commit
66e64cb136
|
@ -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…
Reference in a new issue