-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: publish go docker image (#105)
* feat: publish go docker image
- Loading branch information
1 parent
ea2f299
commit 98e6404
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM golang:1.16 | ||
|
||
RUN mkdir /twilio | ||
WORKDIR /twilio | ||
|
||
COPY client ./client | ||
COPY rest ./rest | ||
COPY twilio.go . | ||
COPY twilio_test.go . | ||
|
||
# Fetch dependencies | ||
COPY go.mod . | ||
COPY go.sum . | ||
RUN go mod download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters