Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhou26 authored Apr 6, 2024
1 parent 6a561e4 commit 1ccec40
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 @@ -8,7 +8,7 @@ COPY go.mod go.sum ./
RUN go mod download

COPY . .
RUN go build -o /app/aurora .
RUN go build -ldflags "-s -w" -o /app/aurora .

FROM alpine:latest

Expand All @@ -18,4 +18,4 @@ COPY --from=builder /app/aurora /app/aurora

EXPOSE 8080

CMD [ "./aurora" ]
CMD [ "./aurora" ]

0 comments on commit 1ccec40

Please sign in to comment.