fix: update Dockerfile and init-nginx.sh for improved nginx control error handling

This commit is contained in:
Jacky 2025-05-03 07:45:50 +00:00
parent a4c11d521d
commit 855c3375f8
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
3 changed files with 59 additions and 7 deletions

View file

@ -32,8 +32,5 @@ RUN cp -rp /etc/nginx /etc/nginx.orig
# Set PATH to include Go installation and default go install binary location
ENV PATH="/usr/local/go/bin:/root/go/bin:${PATH}"
# Install air with go install (requires Go 1.23 or higher)
RUN go install github.com/air-verse/air@latest
# set zsh as default shell
RUN chsh -s $(which zsh)