-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update air hot-reload (only for dev, commented)
- Loading branch information
1 parent
5b9405d
commit bb3ba4d
Showing
2 changed files
with
39 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,9 +30,8 @@ EXPOSE 8081 | |
WORKDIR /opt/banjax | ||
|
||
# To enable live reload for dev, uncomment the following lines | ||
#COPY ./.air.toml /opt/banjax/ | ||
#RUN go mod edit -replace github.com/imdario/mergo=dario.cat/[email protected] | ||
#RUN go get -u github.com/cosmtrek/[email protected] | ||
#RUN mkdir -p /opt/banjax/tmp | ||
#CMD ["air"] | ||
# COPY ./.air.toml /opt/banjax/ | ||
# RUN go install github.com/air-verse/air@latest | ||
# RUN mkdir -p /opt/banjax/tmp | ||
# CMD ["air", "-c", ".air.toml"] | ||
CMD ["./banjax"] |