Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nickorzha committed Oct 27, 2019
1 parent 4224f58 commit 7c4055d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM golang:1.13-buster AS build
RUN apt-get update && apt-get install -y git-core pkg-config libavutil-dev libavcodec-dev libavformat-dev libavdevice-dev
WORKDIR /videostreamer
ADD . /videostreamer
RUN go build

FROM debian:buster
RUN apt-get update && apt-get install -y libavutil56 libavcodec58 libavformat58 libavdevice58
COPY --from=build /videostreamer/videostreamer /
CMD ["/videostreamer"]

0 comments on commit 7c4055d

Please sign in to comment.