Skip to content

Commit

Permalink
add go packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmajestic committed Mar 15, 2024
1 parent 7fc1cf2 commit 95b75c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
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"]
8 changes: 8 additions & 0 deletions go.mod
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
)

0 comments on commit 95b75c6

Please # to comment.