14 lines
216 B
Docker
14 lines
216 B
Docker
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
|