diff --git a/build/Dockerfile b/build/Dockerfile index 0149d49..600f526 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,12 +1,12 @@ ARG PHP_VERSION -FROM wordpress:php${PHP_VERSION}-fpm-alpine AS builder +FROM wordpress:php${PHP_VERSION}-fpm-alpine as builder RUN apk add --no-cache libwebp-tools libjpeg-turbo-utils gifsicle optipng pngquant RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ && chmod +x wp-cli.phar \ && mv wp-cli.phar /usr/bin/wp -FROM rust:alpine AS builder2 +FROM rust:alpine as builder2 RUN cargo install svgcleaner FROM wordpress:php${PHP_VERSION}-fpm-alpine diff --git a/conf/nginx/nginx.conf b/conf/nginx/nginx.conf index e136415..0cbbeca 100644 --- a/conf/nginx/nginx.conf +++ b/conf/nginx/nginx.conf @@ -1,3 +1,4 @@ +user nginx; worker_processes auto; error_log /var/log/nginx/error.log notice;