Skip to content

Commit

Permalink
clean dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
seemywingz committed Dec 21, 2024
1 parent 683ca76 commit 68f3aa0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ ENV APP_NAME=ponder
ENV WORKDIR=/app
WORKDIR $WORKDIR
COPY . .
RUN apk add --no-cache build-base pkgconfig alsa-lib-dev
RUN go mod download
RUN go build -o /$APP_NAME

## Deploy
FROM alpine:3.21.0
ENV APP_NAME=ponder
WORKDIR /
RUN apk add --no-cache alsa-lib
COPY --from=builder /$APP_NAME /$APP_NAME
ENTRYPOINT ["/ponder"]

0 comments on commit 68f3aa0

Please sign in to comment.