Skip to content

Commit

Permalink
Improving dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrizic committed Mar 2, 2024
1 parent 2930bf0 commit e2f2abc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Dockerfile
action.yaml
EXAMPLE.md
LICENSE.md
README.md
.github
.env
.gitignore
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.22

COPY . /app
WORKDIR /app
RUN go build -o main .
ENTRYPOINT ["/app/main"]
COPY . /app
RUN go build .
ENTRYPOINT ["/app/deployment-overview"]
Empty file removed entrypoint.sh
Empty file.

0 comments on commit e2f2abc

Please sign in to comment.