Skip to content

Commit

Permalink
#39 [docker public hub] fix: public nginx image
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Aug 15, 2024
1 parent 07e4d15 commit 17634ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

---

Expand Down
4 changes: 2 additions & 2 deletions nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 17634ac

Please sign in to comment.