14 lines
227 B
Text
14 lines
227 B
Text
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
|