-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7fc1cf2
commit 95b75c6
Showing
2 changed files
with
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM golang:1.17-alpine | ||
WORKDIR /app | ||
COPY go.mod . | ||
RUN go mod download | ||
COPY . . | ||
COPY . /app | ||
RUN go build -o main main.go | ||
EXPOSE 8000 | ||
CMD ["./main"] |
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,8 @@ | ||
module github.com/mattmajestic/majesticcoding.com | ||
|
||
go 1.17 | ||
|
||
require ( | ||
github.com/gin-gonic/gin v1.7.4 | ||
golang.org/x/net v0.0.0-20210929193557-e81a3d93ecb6 | ||
) |