From e7011ffd5d08116766e481e1bdfd8211548f95f7 Mon Sep 17 00:00:00 2001 From: Max Ludwig Date: Mon, 3 Oct 2016 19:42:04 +0200 Subject: [PATCH] using Goup binary in Dockerfile CMD now --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec9c00a..dece1bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.7 -ENV goup_version 0.2.1 +ENV goup_version 0.2.2 # install fpm RUN apt-get update \ @@ -38,5 +38,4 @@ RUN fpm -s dir -t rpm --name goup --version $goup_version ./goup=/usr/local/bin/ EXPOSE 4000 -WORKDIR /go/src/goup -CMD ["go-wrapper", "run", "-dir", "/data"] +CMD ["./goup", "-dir", "/data"]