aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
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"]