2022-10-27 08:31:33 +02:00
|
|
|
FROM golang:1.19-bullseye
|
2022-02-14 20:03:53 +01:00
|
|
|
|
|
|
|
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
|