filehandler/Dockerfile
2024-09-18 22:13:25 +03:00

14 lines
170 B
Docker

FROM golang:1.20-alpine
RUN apk add --no-cache git
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o main .
EXPOSE 48723
CMD ["./main"]