From 14d515fe70b0a338efc3a571f82190d3c34826d6 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Thu, 10 Mar 2022 20:27:25 -0500 Subject: Wire up with docker-compose --- Dockerfile | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 03d0df6..c043e20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,10 @@ MAINTAINER Michael McVady RUN set -e \ && apk add --no-cache \ - busybox-extras + busybox-extras \ + libpq -# COPY . /clog +COPY . /clog RUN set -e \ && mkdir -p /var/chroot \ @@ -28,18 +29,13 @@ RUN set -e \ && make NOTLS=1 PGSQL=1 \ && make install \ && cd .. \ - && rm -rf kore-4.1.0* - -COPY . /clog - -RUN set -e \ + && rm -rf kore-4.1.0* \ && cd /clog \ - && kodev build -# && apk del .build-deps + && kodev build \ + && apk del .build-deps EXPOSE 8888 STOPSIGNAL SIGQUIT WORKDIR /clog -# ENTRYPOINT [ "kore", "-c", "conf/clog.conf", "-r", "-n", "-f"] -ENTRYPOINT [ "kodev", "run"] +ENTRYPOINT [ "kore", "-c", "conf/clog.conf", "-r", "-n", "-f"] -- cgit v1.2.3