filehandler/Dockerfile

14 lines
170 B
Docker
Raw Normal View History

2024-09-18 22:13:25 +03:00
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"]