Skip to content
This repository has been archived by the owner on Jun 21, 2018. It is now read-only.

Commit

Permalink
using Goup binary in Dockerfile CMD now
Browse files Browse the repository at this point in the history
  • Loading branch information
dAnjou committed Oct 3, 2016
1 parent c2f4a2d commit e7011ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down Expand Up @@ -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"]

0 comments on commit e7011ff

Please sign in to comment.