diff --git a/README.md b/README.md index 453b671..22f057d 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,8 @@ In this docker repository, we have the following images: - [cslant/blog-php](https://hub.docker.com/r/cslant/blog-php) - [cslant/blog-worker](https://hub.docker.com/r/cslant/blog-worker) - [cslant/blog-node](https://hub.docker.com/r/cslant/blog-node) +- [cslant/blog-nginx](https://hub.docker.com/r/cslant/blog-nginx) +- [cslant/blog-postgres](https://hub.docker.com/r/cslant/blog-postgres) --- diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 36ffbe2..e823e58 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -8,8 +8,8 @@ LABEL description="Nginx image for CSlant development - Using for Blog" COPY nginx.conf /etc/nginx/ -RUN addgroup -g ${PHP_VERSION_SHORT} -S www-data ; \ - adduser -u ${PHP_VERSION_SHORT} -D -S -G www-data www-data; +RUN addgroup -g ${PHP_VERSION_SHORT} www-data && \ + adduser -u ${PHP_VERSION_SHORT} -G www-data -D www-data WORKDIR /var/dev