aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile14
-rw-r--r--README.md2
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.