aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2022-03-10 20:27:25 -0500
committerMichael McVady <femtonaut@gmail.com>2022-03-10 20:27:25 -0500
commit14d515fe70b0a338efc3a571f82190d3c34826d6 (patch)
tree0c276d69c45ee6c7afbf4dbd0ac04de71f2671bf /Dockerfile
parent0455b7aa4ca481627ee25a3f4879291b3358433c (diff)
Wire up with docker-compose
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile18
1 files changed, 7 insertions, 11 deletions
diff --git a/Dockerfile b/Dockerfile
index 03d0df6..c043e20 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,9 +4,10 @@ MAINTAINER Michael McVady <femtonaut@gmail.com>
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"]