feat(first): First commit with basic implementation. Missing test
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Matthieu 'JP' DERASSE
2023-08-09 12:05:37 +00:00
commit 05ac49fd68
13 changed files with 1177 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
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"]