train-tracker/Dockerfile

13 lines
124 B
Docker
Raw Permalink Normal View History

2024-09-28 13:00:29 +02:00
FROM golang:1.19
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o main .
CMD ["./main"]