teslainventory_sdk/Dockerfile
Matthieu 'JP' DERASSE 05ac49fd68
Some checks failed
continuous-integration/drone Build is failing
feat(first): First commit with basic implementation. Missing test
2023-08-09 12:11:17 +00:00

15 lines
202 B
Docker

FROM golang:alpine
# Set destination for COPY
WORKDIR /app
# Download Go modules
COPY . /app
RUN go mod download
# Build
RUN CGO_ENABLED=0 GOOS=linux go build -o /app/tesla
# Run
CMD ["/app/tesla"]