sim-modem/Dockerfile

10 lines
139 B
Docker
Raw Normal View History

2024-07-22 15:38:40 +00:00
FROM golang:1.22.5
2024-07-22 15:15:20 +00:00
WORKDIR /app
2024-07-23 09:22:53 +00:00
COPY ./ ./
2024-07-22 15:15:20 +00:00
RUN go mod download
2024-07-23 09:22:53 +00:00
2024-07-22 15:15:20 +00:00
2024-07-22 15:53:34 +00:00
RUN CGO_ENABLED=0 GOOS=linux go build -o /modem-test
2024-07-22 15:38:40 +00:00
CMD ["/modem-test"]