15 lines
214 B
Text
15 lines
214 B
Text
|
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
|