Skip to content

Commit

Permalink
Update dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Sep 17, 2023
1 parent d182f39 commit 6c6a4dd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/test/e2e/gin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM golang:1.21
WORKDIR /sample-app

WORKDIR /usr/src/app

COPY . .
RUN go build -o main
RUN go mod init app && go mod tidy && go build -v -o /usr/local/bin/app ./...

CMD ["app"]

0 comments on commit 6c6a4dd

Please sign in to comment.