FROM golang:latest
ENV PATH=$PATH:/src/oef/
RUN mkdir -p /src/oef
ADD . /src/oef
COPY config/config.aws.yaml /src/oef/config/config.yaml
WORKDIR /src/oef/
RUN go build -o oef *.go
ENTRYPOINT ["/src/oef/oef"]
EXPOSE 80