mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
fix: update Dockerfile and init-nginx.sh for improved nginx control error handling
This commit is contained in:
parent
a4c11d521d
commit
855c3375f8
3 changed files with 59 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue