core-legacy/Dockerfile
2019-08-17 02:07:01 +02:00

19 lines
250 B
Docker

FROM drogonframework/drogon AS installer
ENV CORE_ROOT=$IROOT/core
WORKDIR $IROOT
COPY . $CORE_ROOT
WORKDIR $CORE_ROOT
RUN ./build.sh
FROM drogonframework/drogon
COPY --from=installer /srv/core /srv/core
EXPOSE 5000
ENTRYPOINT ["/srv/core"]