Skip to content

Commit

Permalink
Starting Intial Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KingLeak95 committed Oct 30, 2023
1 parent 46479a6 commit 8c3fce3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.21

WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
RUN ls
COPY . .

RUN go build -o /to-do-list

EXPOSE 8080
CMD ["/to-do-list"]

0 comments on commit 8c3fce3

Please sign in to comment.