oef/Dockerfile

15 lines
214 B
Text
Raw Normal View History

2019-11-04 15:00:46 +01:00
FROM golang:latest
ENV PATH=$PATH:/src/oef/
RUN mkdir -p /src/oef
ADD . /src/oef
COPY config/config.yaml /src/oef/config/
WORKDIR /src/oef/
RUN go build -o oef *.go
ENTRYPOINT ["/src/oef/oef"]
EXPOSE 3000