From d0128504f7548e64d94479a9d6100a7d9a2dc4e3 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Tue, 24 May 2022 01:46:21 -0500 Subject: Dockerfile should work --- Dockerfile | 14 +++++++------- README.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71ce635..48afb29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,18 +25,18 @@ RUN set -e \ && make clean \ && make PGSQL=1 TLS_BACKEND=none \ && make install \ - && cd .. - -RUN set -e \ - && rm -rf /tmp/kore-${KORE_VERSION} \ + && cd .. \ && cd /tmp/clog \ && cp -r assets /var/chroot/kore/. \ && kodev build \ - && mkidr /clog \ - && cp clog /clog/. + && mkdir /clog \ + && cp clog /clog/. \ + && cd /tmp \ + && rm -rf clog \ + && rm -rf kore-${KORE_VERSION} EXPOSE 8888 STOPSIGNAL SIGQUIT WORKDIR /clog -ENTRYPOINT [ "clog", "-f"] +ENTRYPOINT [ "./clog", "-f"] diff --git a/README.md b/README.md index 3906c11..3eb3667 100644 --- a/README.md +++ b/README.md @@ -5,5 +5,5 @@ An attempt to reimplement flog, using the [kore.io](https://kore.io) framework. ## TODO * Determine how to handle `lib`/dependencies. -* Fix standalone binary (doesn't call `init` for DB?). +* Fix Dockerfile for standalone binary. -- cgit v1.2.3