Skip to content

Commit 0c172c9

Browse files
authored
Fix Dockerfile workdir and cmd
1 parent 280e1ce commit 0c172c9

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)