2020-02-07 09:56:08 +01:00
|
|
|
FROM golang:latest
|
|
|
|
|
|
|
|
ENV PATH=$PATH:/src/oef/
|
|
|
|
RUN mkdir -p /srv/oef
|
|
|
|
|
|
|
|
COPY oef /srv/oef/
|
|
|
|
COPY dist /srv/oef/dist
|
|
|
|
COPY templates /srv/oef/templates
|
2020-02-07 13:05:48 +01:00
|
|
|
COPY VERSION /srv/oef/
|
2020-02-07 09:56:08 +01:00
|
|
|
|
|
|
|
WORKDIR /srv/oef/
|
|
|
|
|
|
|
|
ENTRYPOINT ["/srv/oef/oef"]
|
|
|
|
|
|
|
|
EXPOSE 3000
|