Skip to content

Commit

Permalink
Fix Dockerfile workdir and cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmcollier authored Jan 26, 2023
1 parent 280e1ce commit 0c172c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM registry.access.redhat.com/ubi9/go-toolset:latest

WORKDIR /app

COPY go.mod ./
RUN go mod download

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

EXPOSE 8081

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

0 comments on commit 0c172c9

Please sign in to comment.