diff options
author | Michael McVady <femtonaut@gmail.com> | 2022-05-24 01:46:21 -0500 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2022-05-24 01:46:21 -0500 |
commit | d0128504f7548e64d94479a9d6100a7d9a2dc4e3 (patch) | |
tree | 6ab9b388d6353985c46bcce252276a3c4e32567a | |
parent | cfc8a9e18e3cf4c4b9b53a2c6e978c8624a83628 (diff) |
Dockerfile should work
-rw-r--r-- | Dockerfile | 14 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 8 insertions, 8 deletions
@@ -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"] @@ -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. |