cloud-game/Dockerfile
2019-04-23 03:36:31 +08:00

19 lines
548 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 libopus-dev libopusfile-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