Tesla/Dockerfile
Matthieu 'JP' DERASSE 444d9b1563
All checks were successful
continuous-integration/drone/push Build is passing
feat(init): Start a bot for tesla
2023-06-05 13:59:39 +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"]