Skip to content

Commit

Permalink
fix: merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
tahadostifam committed Sep 22, 2024
1 parent 8448b04 commit 3f70f30
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@ FROM golang:alpine as builder

RUN apk add make

WORKDIR /build
WORKDIR /app

COPY . /build
WORKDIR /build

RUN go mod tidy

RUN make build

FROM golang:alpine as runtime

WORKDIR /server

COPY --from=builder ./build/server /server/server
COPY --from=builder /app/build/server /usr/bin/server

EXPOSE 8000

CMD ["./build/server"]
CMD ["/usr/bin/server"]

0 comments on commit 3f70f30

Please sign in to comment.