11 lines
163 B
Docker
11 lines
163 B
Docker
|
FROM golang:alpine
|
||
|
|
||
|
RUN go install github.com/cosmtrek/air@latest
|
||
|
|
||
|
WORKDIR /opt/code
|
||
|
|
||
|
# The directory will be mounted
|
||
|
# COPY . .
|
||
|
|
||
|
CMD [ "air", "-c", ".air.toml" ]
|