13 lines
209 B
Docker
13 lines
209 B
Docker
FROM golang:1.19-bullseye
|
|
|
|
RUN go install github.com/cosmtrek/air@latest
|
|
# Development don't need this
|
|
# COPY . /app/
|
|
WORKDIR /app/
|
|
|
|
ARG DATABASE_URL
|
|
ENV DATABASE_URL DATABASE_URL
|
|
|
|
#CMD go run main.go
|
|
CMD air
|