cloud-game/Dockerfile
2019-04-21 23:57:59 +08:00

19 lines
520 B
Docker
Vendored

From golang:1.12
RUN mkdir -p /go/src/github.com/giongto35/cloud-game
COPY . /go/src/github.com/giongto35/cloud-game/
WORKDIR /go/src/github.com/giongto35/cloud-game
# Install server dependencies
RUN apt-get update
#RUN go get github.com/gordonklaus/portaudio
#RUN apt-get install portaudio19-dev -y
RUN apt-get install pkg-config libvpx-dev -y
RUN go get github.com/pion/webrtc
RUN go get github.com/gorilla/websocket
RUN go get github.com/satori/go.uuid
RUN go install github.com/giongto35/cloud-game
EXPOSE 8000