Skip to content

Instantly share code, notes, and snippets.

FROM golang:latest
# Install tools required for project (postgres, git, gcc, curl, glide) less
# likely to change, so put it up here to take advantage of cache
RUN apk add postgresql;\
apk add git; \
apk add build-base; \
apk add curl; \
curl https://glide.sh/get | sh;
@derianpt
derianpt / docker-compose.yml
Last active October 10, 2018 09:02
compose file
version: "3"
services:
web-server:
build: .
depends_on:
- database
ports:
- "4200:5000"
entrypoint: "tail -f /dev/null"