bfile/containers/go-dev.Dockerfile

11 lines
163 B
Docker
Raw Normal View History

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" ]