Files
tinyauth/Dockerfile.dev
dependabot[bot] 4a077da11d chore(deps): bump golang from 1.23-alpine3.21 to 1.24-alpine3.21 (#87)
Bumps golang from 1.23-alpine3.21 to 1.24-alpine3.21.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.24-alpine3.21
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 17:37:06 +03:00

19 lines
280 B
Docker

FROM golang:1.24-alpine3.21
WORKDIR /tinyauth
COPY go.mod ./
COPY go.sum ./
RUN go mod download
COPY ./cmd ./cmd
COPY ./internal ./internal
COPY ./main.go ./
COPY ./air.toml ./
RUN go install github.com/air-verse/air@v1.61.7
EXPOSE 3000
ENTRYPOINT ["air", "-c", "air.toml"]