godash/docker/Dockerfile.dev

16 lines
269 B
Text

ARG GOLANG_VERSION
FROM golang:${GOLANG_VERSION}-alpine
RUN apk add tzdata
# GoDash
WORKDIR /app
COPY ./go.mod .
COPY ./go.sum .
RUN go mod download
# Air
RUN go install github.com/cosmtrek/air@latest
# Envs
ENV VERSION=v0.0.1-dev
ENV BUILDTIME=2023-04-05T20:48:07Z