Skip to content

Instantly share code, notes, and snippets.

@nidhi-ag
Last active December 28, 2017 11:58
Show Gist options
  • Save nidhi-ag/a8378cc6e1c79979854ee7a02fc73e8f to your computer and use it in GitHub Desktop.
Save nidhi-ag/a8378cc6e1c79979854ee7a02fc73e8f to your computer and use it in GitHub Desktop.
FROM nidhi11594/node-go:latest
# Install glide
RUN curl https://glide.sh/get | sh
RUN mkdir -p /go/src/github.com/App
COPY . /go/src/github.com/App
WORKDIR /go/src/github.com/App
# Install node packages
npm install
# Install go packages
RUN glide install
RUN go build -o app main.go
CMD ./app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment