mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
chore: move to go folder
This commit is contained in:
16
go/Dockerfile.dev
Normal file
16
go/Dockerfile.dev
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM golang:1.24-alpine3.21 AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN go install github.com/air-verse/air@latest
|
||||
|
||||
COPY go.mod ./
|
||||
COPY go.sum ./
|
||||
|
||||
RUN go mod download
|
||||
|
||||
COPY ./internal ./internal
|
||||
COPY ./main.go ./
|
||||
COPY ./.air.toml ./
|
||||
|
||||
CMD ["air", "-c", ".air.toml"]
|
||||
Reference in New Issue
Block a user