Skip to content

Commit

Permalink
golang-plugin generated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zapfire88 committed Feb 12, 2024
1 parent e29b659 commit 795b145
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM golang:1.14-alpine
RUN mkdir /app
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY *.go ./
RUN CGO_ENABLED=0 GOOS=linux go build -o mp4ff
EXPOSE 8080
CMD ./mp4ff

0 comments on commit 795b145

Please sign in to comment.