From 10a24be11b448e2462791bc1b59e86fb399d977b Mon Sep 17 00:00:00 2001 From: sp4ke Date: Fri, 9 Oct 2020 02:02:14 +0100 Subject: [PATCH] Fix docker build #17 This change should fix #17 after adding an empty `frontend/public/index.html` --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c34f90..c24022c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM alpine:3.11 +FROM alpine:3.12 ENV URL=http://localhost:5000 -ARG build_deps="go make dep" +ARG build_deps="go make dep git" ARG runtime_deps="dumb-init" ARG user_id=1000 @@ -13,7 +13,7 @@ RUN apk update && \ adduser -D -H -h / -u $user_id tty-server && \ cd /go/src/github.com/elisescu/tty-server && \ GOPATH=/go dep ensure && \ - GOPATH=/go make all && \ + GOPATH=/go PATH=$GOPATH/bin:$PATH make all && \ cp tty-server /usr/bin/ && \ rm -r /go && \ apk del $build_deps