Skip to content

Commit b9bcef1

Browse files
authored
Merge pull request #14 from johnmcollier/patch-2
Fix Dockerfile workdir and cmd
2 parents 280e1ce + 0c172c9 commit b9bcef1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docker/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
FROM registry.access.redhat.com/ubi9/go-toolset:latest
22

3-
WORKDIR /app
4-
53
COPY go.mod ./
64
RUN go mod download
75

@@ -11,4 +9,4 @@ RUN go build -o ./main
119

1210
EXPOSE 8081
1311

14-
CMD [ "app/main" , "-p=8081"]
12+
CMD [ "./main" , "-p=8081"]

0 commit comments

Comments
 (0)