Skip to content

Commit

Permalink
update the Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Kumar Sahu <vivekkumarsahu650@gmail.com>
  • Loading branch information
viveksahu26 committed Feb 9, 2024
1 parent 5f8e6b5 commit ad12f42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ WORKDIR /app

ADD . /app

RUN go build -o /url_shortner
RUN go build -o url_shortner ./cmd/url_shortner

EXPOSE 8080

CMD [ "/url_shortner" ]
CMD [ "/url_shortner" ]

0 comments on commit ad12f42

Please sign in to comment.